	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixp2000_i2c_probe
_ixp2000_i2c_probe:                     ## @ixp2000_i2c_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, %r14
	movq	8(%rdi), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, 56(%rax)
	movq	%rax, %r15
	addq	$24, %r15
	movq	%r12, 48(%rax)
	movq	_ixp2000_bit_setsda@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_ixp2000_bit_setscl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_ixp2000_bit_getsda@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_ixp2000_bit_getscl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	$6, 24(%rbx)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	16(%rbx), %edi
	movq	(%r14), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r15, 8(%rbx)
	movq	%r14, (%rbx)
	movl	(%r12), %edi
	movq	_GPIO_IN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_gpio_line_config
	movl	4(%r12), %edi
	movl	(%r15), %esi
	callq	_gpio_line_config
	movl	4(%r12), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_gpio_line_set
	movl	(%r12), %edi
	xorl	%esi, %esi
	callq	_gpio_line_set
	movq	%rbx, %rdi
	callq	_i2c_bit_add_bus
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r12d, %r15d
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
LBB0_5:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ixp2000_bit_setsda,4,2         ## @ixp2000_bit_setsda
	.comm	_ixp2000_bit_setscl,4,2         ## @ixp2000_bit_setscl
	.comm	_ixp2000_bit_getsda,4,2         ## @ixp2000_bit_getsda
	.comm	_ixp2000_bit_getscl,4,2         ## @ixp2000_bit_getscl
	.comm	_HZ,4,2                         ## @HZ
	.comm	_GPIO_IN,4,2                    ## @GPIO_IN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not install, error %d\n"

	.no_dead_strip	_ixp2000_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixp2000_i2c_probe
_ixp2000_i2c_probe:                     ; @ixp2000_i2c_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	x21, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	stp	x21, x21, [x0, #48]
Lloh3:
	adrp	x8, _ixp2000_bit_setsda@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ixp2000_bit_setsda@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #44]
Lloh6:
	adrp	x8, _ixp2000_bit_setscl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ixp2000_bit_setscl@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _ixp2000_bit_getsda@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ixp2000_bit_getsda@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #36]
Lloh12:
	adrp	x8, _ixp2000_bit_getscl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ixp2000_bit_getscl@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mov	w9, #6
	mov	x22, x0
	str	w9, [x22, #24]!
Lloh15:
	adrp	x9, _HZ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #28]
	ldr	w0, [x0, #16]
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	stp	x19, x22, [x20]
	ldr	w0, [x21]
Lloh18:
	adrp	x22, _GPIO_IN@GOTPAGE
Lloh19:
	ldr	x22, [x22, _GPIO_IN@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_gpio_line_config
	ldr	w0, [x21, #4]
	ldr	w1, [x22]
	bl	_gpio_line_config
	ldr	w0, [x21, #4]
	mov	w1, #0
	bl	_gpio_line_set
	ldr	w0, [x21]
	mov	w1, #0
	bl	_gpio_line_set
	mov	x0, x20
	bl	_i2c_bit_add_bus
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
	mov	x0, x20
	bl	_kfree
	b	LBB0_5
LBB0_3:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
LBB0_5:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ixp2000_bit_setsda,4,2         ; @ixp2000_bit_setsda
	.comm	_ixp2000_bit_setscl,4,2         ; @ixp2000_bit_setscl
	.comm	_ixp2000_bit_getsda,4,2         ; @ixp2000_bit_getsda
	.comm	_ixp2000_bit_getscl,4,2         ; @ixp2000_bit_getscl
	.comm	_HZ,4,2                         ; @HZ
	.comm	_GPIO_IN,4,2                    ; @GPIO_IN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not install, error %d\n"

	.no_dead_strip	_ixp2000_i2c_probe
.subsections_via_symbols
