	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpcap_usb_phy_probe
_cpcap_usb_phy_probe:                   ## @cpcap_usb_phy_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_cpcap_usb_phy_id_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_of_match_ptr
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r14
	movl	(%r12), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_dev_get_regmap
	movl	%eax, 56(%r14)
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%r12, 40(%r14)
	leaq	8(%r14), %r15
	movq	%r12, 32(%r14)
	leaq	L_.str(%rip), %rcx
	movq	%rcx, 8(%r14)
	movq	%rax, 24(%r14)
	movq	_USB_PHY_TYPE_USB2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r14)
	movq	_cpcap_usb_phy_set_host@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_cpcap_usb_phy_set_peripheral@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	%r15, (%rax)
	movq	_cpcap_usb_detect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_INIT_DELAYED_WORK
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get
	movq	%rax, 48(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	48(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_12
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_12:
	callq	_regulator_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.13:
	movq	40(%r14), %rdi
	movq	_ops@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	callq	_devm_phy_create
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	jmp	LBB0_16
LBB0_15:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_phy_set_drvdata
	movq	40(%r14), %rdi
	movq	_of_phy_simple_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_devm_of_phy_provider_register
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
LBB0_16:
	movq	%rbx, %rdi
	jmp	LBB0_5
LBB0_17:
	movq	%r14, %rdi
	callq	_cpcap_usb_init_optional_pins
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.18:
	movq	%r14, %rdi
	callq	_cpcap_usb_init_optional_gpios
	movq	%r14, %rdi
	callq	_cpcap_usb_init_iio
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.19:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_cpcap_usb_init_interrupts
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.20:
	movq	%r15, %rdi
	callq	_usb_add_phy_dev
	movq	%r14, %rdi
	addq	$4, %rdi
	movl	$1, %esi
	callq	_atomic_set
	movl	$1, %edi
	callq	_msecs_to_jiffies
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_schedule_delayed_work
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_cpcap_usb_phy_id_table,4,2     ## @cpcap_usb_phy_id_table
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpcap_usb_phy"

	.comm	_USB_PHY_TYPE_USB2,4,2          ## @USB_PHY_TYPE_USB2
	.comm	_cpcap_usb_phy_set_host,4,2     ## @cpcap_usb_phy_set_host
	.comm	_cpcap_usb_phy_set_peripheral,4,2 ## @cpcap_usb_phy_set_peripheral
	.comm	_cpcap_usb_detect,4,2           ## @cpcap_usb_detect
L_.str.1:                               ## @.str.1
	.asciz	"vusb"

	.comm	_ops,4,2                        ## @ops
	.comm	_of_phy_simple_xlate,4,2        ## @of_phy_simple_xlate
	.no_dead_strip	_cpcap_usb_phy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpcap_usb_phy_probe
_cpcap_usb_phy_probe:                   ; @cpcap_usb_phy_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
Lloh0:
	adrp	x8, _cpcap_usb_phy_id_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpcap_usb_phy_id_table@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_of_match_ptr
	mov	x1, x20
	bl	_of_match_device
	cbz	x0, LBB0_6
; %bb.1:
Lloh3:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	w0, [x20]
	mov	x1, #0
	bl	_dev_get_regmap
	str	w0, [x19, #56]
	cbz	w0, LBB0_8
; %bb.3:
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.4:
	stp	x20, x20, [x19, #32]
Lloh5:
	adrp	x8, l_.str@PAGE
Lloh6:
	add	x8, x8, l_.str@PAGEOFF
	mov	x21, x19
	str	x8, [x21, #8]!
	str	x0, [x19, #24]
Lloh7:
	adrp	x8, _USB_PHY_TYPE_USB2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _USB_PHY_TYPE_USB2@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh10:
	adrp	x8, _cpcap_usb_phy_set_host@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cpcap_usb_phy_set_host@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _cpcap_usb_phy_set_peripheral@GOTPAGE
Lloh14:
	ldr	x9, [x9, _cpcap_usb_phy_set_peripheral@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	str	x21, [x0]
Lloh16:
	adrp	x8, _cpcap_usb_detect@GOTPAGE
Lloh17:
	ldr	x8, [x8, _cpcap_usb_detect@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_INIT_DELAYED_WORK
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_devm_regulator_get
	str	x0, [x19, #48]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19, #48]
	cbz	x8, LBB0_11
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_6:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh25:
	adrp	x8, _ENODEV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	_regulator_enable
	cbnz	w0, LBB0_10
; %bb.12:
	ldr	x0, [x19, #40]
Lloh27:
	adrp	x2, _ops@GOTPAGE
Lloh28:
	ldr	x2, [x2, _ops@GOTPAGEOFF]
	mov	x1, #0
	bl	_devm_phy_create
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x22
	bl	_PTR_ERR
	b	LBB0_15
LBB0_14:
	mov	x0, x22
	mov	x1, x19
	bl	_phy_set_drvdata
	ldr	x0, [x19, #40]
Lloh29:
	adrp	x8, _of_phy_simple_xlate@GOTPAGE
Lloh30:
	ldr	x8, [x8, _of_phy_simple_xlate@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_devm_of_phy_provider_register
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_16
LBB0_15:
	mov	x0, x22
	b	LBB0_5
LBB0_16:
	mov	x0, x19
	bl	_cpcap_usb_init_optional_pins
	cbnz	w0, LBB0_10
; %bb.17:
	mov	x0, x19
	bl	_cpcap_usb_init_optional_gpios
	mov	x0, x19
	bl	_cpcap_usb_init_iio
	cbnz	w0, LBB0_10
; %bb.18:
	mov	x0, x20
	mov	x1, x19
	bl	_cpcap_usb_init_interrupts
	cbnz	w0, LBB0_10
; %bb.19:
	mov	x0, x21
	bl	_usb_add_phy_dev
	add	x0, x19, #4
	mov	w1, #1
	bl	_atomic_set
	mov	w0, #1
	bl	_msecs_to_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_schedule_delayed_work
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_cpcap_usb_phy_id_table,4,2     ; @cpcap_usb_phy_id_table
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpcap_usb_phy"

	.comm	_USB_PHY_TYPE_USB2,4,2          ; @USB_PHY_TYPE_USB2
	.comm	_cpcap_usb_phy_set_host,4,2     ; @cpcap_usb_phy_set_host
	.comm	_cpcap_usb_phy_set_peripheral,4,2 ; @cpcap_usb_phy_set_peripheral
	.comm	_cpcap_usb_detect,4,2           ; @cpcap_usb_detect
l_.str.1:                               ; @.str.1
	.asciz	"vusb"

	.comm	_ops,4,2                        ; @ops
	.comm	_of_phy_simple_xlate,4,2        ; @of_phy_simple_xlate
	.no_dead_strip	_cpcap_usb_phy_probe
.subsections_via_symbols
