	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii9234_probe
_sii9234_probe:                         ## @sii9234_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	leaq	4(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r12
	movq	%r15, 24(%rax)
	movq	%rax, %rdi
	addq	$16, %rdi
	callq	_mutex_init
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_6
## %bb.7:
	movq	_IRQ_NOAUTOEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_irq_set_status_flags
	movl	(%r14), %esi
	movq	_sii9234_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%r12, (%rsp)
	leaq	L_.str.2(%rip), %r9
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_sii9234_init_resources
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	movq	_sii9234_bridge_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r12)
	movl	4(%r14), %eax
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_drm_bridge_add
	movq	%r12, %rdi
	callq	_sii9234_cable_in
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_12
LBB0_10:
	movl	%eax, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C adapter lacks SMBUS feature\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"no irq provided\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IRQ_NOAUTOEN,4,2               ## @IRQ_NOAUTOEN
	.comm	_sii9234_irq_thread,4,2         ## @sii9234_irq_thread
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.2:                               ## @.str.2
	.asciz	"sii9234"

L_.str.3:                               ## @.str.3
	.asciz	"failed to install IRQ handler\n"

	.comm	_sii9234_bridge_funcs,4,2       ## @sii9234_bridge_funcs
	.no_dead_strip	_sii9234_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii9234_probe
_sii9234_probe:                         ; @sii9234_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	x19, x0
	ldr	x22, [x0, #8]
	add	x21, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	str	x21, [x0, #24]
	add	x0, x0, #16
	bl	_mutex_init
Lloh3:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_i2c_check_functionality
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w0, [x19]
	cbz	w0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _IRQ_NOAUTOEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_NOAUTOEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_irq_set_status_flags
	ldr	w1, [x19]
Lloh9:
	adrp	x8, _sii9234_irq_thread@GOTPAGE
Lloh10:
	ldr	x8, [x8, _sii9234_irq_thread@GOTPAGEOFF]
Lloh11:
	adrp	x9, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh18:
	adrp	x5, l_.str.2@PAGE
Lloh19:
	add	x5, x5, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, #0
	mov	x6, x20
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_11
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_sii9234_init_resources
	tbnz	w0, #31, LBB0_12
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
Lloh20:
	adrp	x8, _sii9234_bridge_funcs@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sii9234_bridge_funcs@GOTPAGEOFF]
	str	x8, [x20, #8]
	ldr	w8, [x19, #4]
	str	w8, [x20]
	mov	x0, x20
	bl	_drm_bridge_add
	mov	x0, x20
	bl	_sii9234_cable_in
	mov	w22, #0
	b	LBB0_10
LBB0_6:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh26:
	adrp	x8, _EIO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
	mov	x0, x22
	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:
	mov	x22, x0
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_10
LBB0_12:
	mov	x22, x0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C adapter lacks SMBUS feature\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"no irq provided\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IRQ_NOAUTOEN,4,2               ; @IRQ_NOAUTOEN
	.comm	_sii9234_irq_thread,4,2         ; @sii9234_irq_thread
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.2:                               ; @.str.2
	.asciz	"sii9234"

l_.str.3:                               ; @.str.3
	.asciz	"failed to install IRQ handler\n"

	.comm	_sii9234_bridge_funcs,4,2       ; @sii9234_bridge_funcs
	.no_dead_strip	_sii9234_probe
.subsections_via_symbols
