	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpcap_usb_init_optional_pins
_cpcap_usb_init_optional_pins:          ## @cpcap_usb_init_optional_pins
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	callq	_devm_pinctrl_get
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %r14d
	movq	8(%rbx), %rdi
	callq	_PTR_ERR
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_info
	movq	$0, 8(%rbx)
	jmp	LBB0_9
LBB0_2:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	16(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	$0, 32(%rbx)
LBB0_4:
	movq	8(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	16(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	$0, 24(%rbx)
LBB0_6:
	movq	8(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	16(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	$0, (%rbx)
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.10:
	movq	8(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pinctrl_select_state           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default pins not configured: %ld\n"

L_.str.1:                               ## @.str.1
	.asciz	"ulpi"

L_.str.2:                               ## @.str.2
	.asciz	"ulpi pins not configured\n"

L_.str.3:                               ## @.str.3
	.asciz	"utmi"

L_.str.4:                               ## @.str.4
	.asciz	"utmi pins not configured\n"

L_.str.5:                               ## @.str.5
	.asciz	"uart"

L_.str.6:                               ## @.str.6
	.asciz	"uart pins not configured\n"

	.no_dead_strip	_cpcap_usb_init_optional_pins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpcap_usb_init_optional_pins
_cpcap_usb_init_optional_pins:          ; @cpcap_usb_init_optional_pins
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_devm_pinctrl_get
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w20, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_PTR_ERR
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	str	xzr, [x19, #8]
	b	LBB0_8
LBB0_2:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_info
	str	xzr, [x19, #32]
LBB0_4:
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #16]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_info
	str	xzr, [x19, #24]
LBB0_6:
	ldr	x0, [x19, #8]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x19, #16]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_info
	str	xzr, [x19]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_9:
	ldr	x1, [x19]
	cbz	x1, LBB0_8
; %bb.10:
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_pinctrl_select_state
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default pins not configured: %ld\n"

l_.str.1:                               ; @.str.1
	.asciz	"ulpi"

l_.str.2:                               ; @.str.2
	.asciz	"ulpi pins not configured\n"

l_.str.3:                               ; @.str.3
	.asciz	"utmi"

l_.str.4:                               ; @.str.4
	.asciz	"utmi pins not configured\n"

l_.str.5:                               ; @.str.5
	.asciz	"uart"

l_.str.6:                               ; @.str.6
	.asciz	"uart pins not configured\n"

	.no_dead_strip	_cpcap_usb_init_optional_pins
.subsections_via_symbols
