	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_dw_probe_slave             ## -- Begin function i2c_dw_probe_slave
	.p2align	4, 0x90
_i2c_dw_probe_slave:                    ## @i2c_dw_probe_slave
	.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, %rbx
	addq	$24, %rdi
	callq	_init_completion
	movq	_i2c_dw_init_slave@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	_i2c_dw_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_i2c_dw_disable_int@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_i2c_dw_set_reg_access
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_i2c_dw_set_sda_hold
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	leaq	32(%rbx), %r14
	movl	48(%rbx), %edi
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movl	$3, 32(%rbx)
	movq	_i2c_dw_algo@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movl	8(%rbx), %eax
	movl	%eax, 36(%rbx)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_adapdata
	movl	8(%rbx), %r14d
	movl	12(%rbx), %r12d
	movq	_i2c_dw_isr_slave@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r14d, %edi
	callq	_dev_name
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	movl	12(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_i2c_add_numbered_adapter
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_8
LBB0_6:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i2c_dw_disable,4,2             ## @i2c_dw_disable
	.comm	_i2c_dw_disable_int,4,2         ## @i2c_dw_disable_int
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Synopsys DesignWare I2C Slave adapter"

	.comm	_i2c_dw_algo,4,2                ## @i2c_dw_algo
	.comm	_i2c_dw_isr_slave,4,2           ## @i2c_dw_isr_slave
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.1:                               ## @.str.1
	.asciz	"failure requesting irq %i: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"failure adding adapter: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_dw_probe_slave             ; -- Begin function i2c_dw_probe_slave
	.p2align	2
_i2c_dw_probe_slave:                    ; @i2c_dw_probe_slave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	add	x0, x0, #24
	bl	_init_completion
Lloh0:
	adrp	x8, _i2c_dw_init_slave@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i2c_dw_init_slave@GOTPAGEOFF]
	str	x8, [x19]
Lloh2:
	adrp	x8, _i2c_dw_disable@GOTPAGE
Lloh3:
	ldr	x8, [x8, _i2c_dw_disable@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _i2c_dw_disable_int@GOTPAGE
Lloh6:
	ldr	x9, [x9, _i2c_dw_disable_int@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	mov	x0, x19
	bl	_i2c_dw_set_reg_access
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_i2c_dw_set_sda_hold
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x20, x0
	cbnz	w0, LBB0_8
; %bb.3:
	add	x21, x19, #32
	ldr	w0, [x19, #48]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	mov	w8, #3
Lloh10:
	adrp	x9, _i2c_dw_algo@GOTPAGE
Lloh11:
	ldr	x9, [x9, _i2c_dw_algo@GOTPAGEOFF]
	str	x9, [x19, #40]
	ldr	w9, [x19, #8]
	stp	w8, w9, [x19, #32]
	mov	x0, x21
	mov	x1, x19
	bl	_i2c_set_adapdata
	ldp	w20, w22, [x19, #8]
Lloh12:
	adrp	x8, _i2c_dw_isr_slave@GOTPAGE
Lloh13:
	ldr	x8, [x8, _i2c_dw_isr_slave@GOTPAGEOFF]
Lloh14:
	ldr	w23, [x8]
Lloh15:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh17:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x5, x19
	bl	_devm_request_irq
	cbz	w0, LBB0_5
; %bb.4:
	mov	x20, x0
	ldp	w0, w2, [x19, #8]
	str	x20, [sp]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:
	mov	x0, x21
	bl	_i2c_add_numbered_adapter
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w0, [x19, #8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
LBB0_7:
	bl	_dev_err
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_i2c_dw_disable,4,2             ; @i2c_dw_disable
	.comm	_i2c_dw_disable_int,4,2         ; @i2c_dw_disable_int
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Synopsys DesignWare I2C Slave adapter"

	.comm	_i2c_dw_algo,4,2                ; @i2c_dw_algo
	.comm	_i2c_dw_isr_slave,4,2           ; @i2c_dw_isr_slave
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.1:                               ; @.str.1
	.asciz	"failure requesting irq %i: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"failure adding adapter: %d\n"

.subsections_via_symbols
