	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stu300_probe
_stu300_probe:                          ## @stu300_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, %r15
	leaq	4(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movl	(%r15), %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, 88(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	88(%rbx), %edi
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r15, 80(%rbx)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 4(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_dev_dbg
	movl	4(%rbx), %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movl	4(%rbx), %edi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_8:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, (%rbx)
	movq	_stu300_irh@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	movq	_scl_frequency@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%rbx)
	movl	88(%rbx), %edi
	callq	_clk_prepare_enable
	movq	%rbx, %rdi
	callq	_stu300_init_hw
	movl	%eax, %r13d
	movl	88(%rbx), %edi
	callq	_clk_disable
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.10:
	movq	80(%rbx), %rdi
	addq	$4, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_11:
	leaq	72(%rbx), %rdi
	callq	_spin_lock_init
	movq	_STU300_EVENT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_STU300_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	%rbx, %r13
	addq	$8, %r13
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_I2C_CLASS_DEPRECATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movl	48(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movl	%r12d, 8(%rbx)
	movq	_stu300_algo@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	%r14, 32(%rbx)
	movl	(%r14), %eax
	movl	%eax, 24(%rbx)
	movq	_stu300_quirks@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_adapdata
	movq	%r13, %rdi
	callq	_i2c_add_numbered_adapter
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%eax, %eax
	jmp	LBB0_13
	.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	"could not retrieve i2c bus clock\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"initialize bus device I2C%d on virtual base %p\n"

	.comm	_stu300_irh,4,2                 ## @stu300_irh
	.comm	_NAME,4,2                       ## @NAME
	.comm	_scl_frequency,4,2              ## @scl_frequency
L_.str.2:                               ## @.str.2
	.asciz	"error initializing hardware.\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_STU300_EVENT_NONE,4,2          ## @STU300_EVENT_NONE
	.comm	_STU300_ERROR_NONE,4,2          ## @STU300_ERROR_NONE
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_I2C_CLASS_DEPRECATED,4,2       ## @I2C_CLASS_DEPRECATED
L_.str.3:                               ## @.str.3
	.asciz	"ST Microelectronics DDC I2C adapter"

	.comm	_stu300_algo,4,2                ## @stu300_algo
	.comm	_stu300_quirks,4,2              ## @stu300_quirks
L_.str.4:                               ## @.str.4
	.asciz	"ST DDC I2C @ %p, irq %d\n"

	.no_dead_strip	_stu300_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stu300_probe
_stu300_probe:                          ; @stu300_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w22, [x21]
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x20, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #88]
	b	LBB0_8
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	str	x21, [x20, #80]
Lloh7:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	mov	x3, x0
	str	w0, [x20, #4]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
	ldr	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x20, #4]
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_9:
	mov	x0, x21
	mov	w1, #0
	bl	_platform_get_irq
	mov	x1, x0
	str	w0, [x20]
Lloh12:
	adrp	x8, _stu300_irh@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stu300_irh@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _NAME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NAME@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_5
; %bb.10:
Lloh18:
	adrp	x8, _scl_frequency@GOTPAGE
Lloh19:
	ldr	x8, [x8, _scl_frequency@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x20, #92]
	ldr	w0, [x20, #88]
	bl	_clk_prepare_enable
	mov	x0, x20
	bl	_stu300_init_hw
	mov	x23, x0
	ldr	w0, [x20, #88]
	bl	_clk_disable
	cbz	w23, LBB0_12
; %bb.11:
	ldr	x8, [x20, #80]
	add	x0, x8, #4
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh23:
	adrp	x8, _EIO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:
	add	x0, x20, #72
	bl	_spin_lock_init
Lloh25:
	adrp	x8, _STU300_EVENT_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _STU300_EVENT_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _STU300_ERROR_NONE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _STU300_ERROR_NONE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #64]
Lloh31:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _I2C_CLASS_DEPRECATED@GOTPAGE
Lloh35:
	ldr	x9, [x9, _I2C_CLASS_DEPRECATED@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #52]
	ldr	w0, [x20, #48]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	mov	x23, x20
	str	w22, [x23, #8]!
Lloh39:
	adrp	x8, _stu300_algo@GOTPAGE
Lloh40:
	ldr	x8, [x8, _stu300_algo@GOTPAGEOFF]
	stp	x19, x8, [x20, #32]
	ldr	w8, [x19]
	str	w8, [x20, #24]
Lloh41:
	adrp	x8, _stu300_quirks@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stu300_quirks@GOTPAGEOFF]
	str	x8, [x20, #16]
	mov	x0, x23
	mov	x1, x20
	bl	_i2c_set_adapdata
	mov	x0, x23
	bl	_i2c_add_numbered_adapter
	cbnz	w0, LBB0_5
; %bb.13:
	mov	x0, x21
	mov	x1, x20
	bl	_platform_set_drvdata
	ldp	w3, w2, [x20]
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh43, Lloh44
	.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	"could not retrieve i2c bus clock\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"initialize bus device I2C%d on virtual base %p\n"

	.comm	_stu300_irh,4,2                 ; @stu300_irh
	.comm	_NAME,4,2                       ; @NAME
	.comm	_scl_frequency,4,2              ; @scl_frequency
l_.str.2:                               ; @.str.2
	.asciz	"error initializing hardware.\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_STU300_EVENT_NONE,4,2          ; @STU300_EVENT_NONE
	.comm	_STU300_ERROR_NONE,4,2          ; @STU300_ERROR_NONE
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_I2C_CLASS_DEPRECATED,4,2       ; @I2C_CLASS_DEPRECATED
l_.str.3:                               ; @.str.3
	.asciz	"ST Microelectronics DDC I2C adapter"

	.comm	_stu300_algo,4,2                ; @stu300_algo
	.comm	_stu300_quirks,4,2              ; @stu300_quirks
l_.str.4:                               ; @.str.4
	.asciz	"ST DDC I2C @ %p, irq %d\n"

	.no_dead_strip	_stu300_probe
.subsections_via_symbols
