	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tusb1210_probe
_tusb1210_probe:                        ## @tusb1210_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	32(%rbx), %rdi
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:
	movl	$1, %esi
	callq	_gpiod_set_value_cansleep
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	24(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_4
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %esi
	callq	_gpiod_set_value_cansleep
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_device_property_read_u8
	movl	-44(%rbp), %r12d
	movq	_TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_device_property_read_u8
	movl	-44(%rbp), %r13d
	movq	_TUSB1210_VENDOR_SPECIFIC2_ZHSDRV_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r13d
	orl	%r12d, %r13d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_device_property_read_u8
	movl	-44(%rbp), %r15d
	movq	_TUSB1210_VENDOR_SPECIFIC2_DP_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	orl	%r13d, %r15d
	je	LBB0_6
## %bb.5:
	movq	_TUSB1210_VENDOR_SPECIFIC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_ulpi_write
	movl	%r15d, (%rbx)
LBB0_6:
	movq	_phy_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_ulpi_phy_create
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rdi
	callq	_PTR_ERR
	jmp	LBB0_9
LBB0_8:
	movq	%r14, 16(%rbx)
	movq	8(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_phy_set_drvdata
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ulpi_set_drvdata
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.1:                               ## @.str.1
	.asciz	"cs"

L_.str.2:                               ## @.str.2
	.asciz	"ihstx"

	.comm	_TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT,4,2 ## @TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT
L_.str.3:                               ## @.str.3
	.asciz	"zhsdrv"

	.comm	_TUSB1210_VENDOR_SPECIFIC2_ZHSDRV_SHIFT,4,2 ## @TUSB1210_VENDOR_SPECIFIC2_ZHSDRV_SHIFT
L_.str.4:                               ## @.str.4
	.asciz	"datapolarity"

	.comm	_TUSB1210_VENDOR_SPECIFIC2_DP_SHIFT,4,2 ## @TUSB1210_VENDOR_SPECIFIC2_DP_SHIFT
	.comm	_TUSB1210_VENDOR_SPECIFIC2,4,2  ## @TUSB1210_VENDOR_SPECIFIC2
	.comm	_phy_ops,4,2                    ## @phy_ops
	.no_dead_strip	_tusb1210_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tusb1210_probe
_tusb1210_probe:                        ; @tusb1210_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x21, _GPIOD_OUT_LOW@GOTPAGE
Lloh4:
	ldr	x21, [x21, _GPIOD_OUT_LOW@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	str	x0, [x20, #32]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #32]
	cbnz	x8, LBB0_3
; %bb.2:
	mov	w1, #1
	bl	_gpiod_set_value_cansleep
	ldr	w2, [x21]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	str	x0, [x20, #24]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #24]
	cbz	x8, LBB0_6
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	mov	w1, #1
	bl	_gpiod_set_value_cansleep
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_device_property_read_u8
	ldr	w8, [sp, #12]
Lloh14:
	adrp	x9, _TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w21, w8, w9
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_device_property_read_u8
	ldr	w8, [sp, #12]
Lloh19:
	adrp	x9, _TUSB1210_VENDOR_SPECIFIC2_ZHSDRV_SHIFT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TUSB1210_VENDOR_SPECIFIC2_ZHSDRV_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w21, w8, w21
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_device_property_read_u8
	ldr	w8, [sp, #12]
Lloh24:
	adrp	x9, _TUSB1210_VENDOR_SPECIFIC2_DP_SHIFT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TUSB1210_VENDOR_SPECIFIC2_DP_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w21, w21, w8
	cbz	w21, LBB0_8
; %bb.7:
Lloh27:
	adrp	x8, _TUSB1210_VENDOR_SPECIFIC2@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TUSB1210_VENDOR_SPECIFIC2@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_ulpi_write
	str	w21, [x20]
LBB0_8:
Lloh30:
	adrp	x1, _phy_ops@GOTPAGE
Lloh31:
	ldr	x1, [x1, _phy_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_ulpi_phy_create
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x0, [x20, #8]
	bl	_PTR_ERR
	b	LBB0_5
LBB0_10:
	str	x19, [x20, #16]
	ldr	x0, [x20, #8]
	mov	x1, x20
	bl	_phy_set_drvdata
	mov	x0, x19
	mov	x1, x20
	bl	_ulpi_set_drvdata
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.1:                               ; @.str.1
	.asciz	"cs"

l_.str.2:                               ; @.str.2
	.asciz	"ihstx"

	.comm	_TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT,4,2 ; @TUSB1210_VENDOR_SPECIFIC2_IHSTX_SHIFT
l_.str.3:                               ; @.str.3
	.asciz	"zhsdrv"

	.comm	_TUSB1210_VENDOR_SPECIFIC2_ZHSDRV_SHIFT,4,2 ; @TUSB1210_VENDOR_SPECIFIC2_ZHSDRV_SHIFT
l_.str.4:                               ; @.str.4
	.asciz	"datapolarity"

	.comm	_TUSB1210_VENDOR_SPECIFIC2_DP_SHIFT,4,2 ; @TUSB1210_VENDOR_SPECIFIC2_DP_SHIFT
	.comm	_TUSB1210_VENDOR_SPECIFIC2,4,2  ; @TUSB1210_VENDOR_SPECIFIC2
	.comm	_phy_ops,4,2                    ; @phy_ops
	.no_dead_strip	_tusb1210_probe
.subsections_via_symbols
