	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da903x_probe
_da903x_probe:                          ## @da903x_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	%rsi, %r13
	movq	%rdi, %r14
	leaq	4(%rdi), %r12
	movq	%r12, %rdi
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 40(%rax)
	movq	%r12, 32(%rax)
	movq	_da903x_ops@GOTPCREL(%rip), %rax
	movq	(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$3, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 8(%rbx)
	leaq	24(%rbx), %rdi
	callq	_mutex_init
	leaq	20(%rbx), %rdi
	movq	_da903x_irq_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_BLOCKING_INIT_NOTIFIER_HEAD
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movl	$-1, (%rbx)
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	*16(%rax)
	movq	8(%rbx), %rax
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*8(%rax)
	movl	(%r14), %esi
	movq	_da903x_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
	movq	%r12, %rdi
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r13d
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_da903x_add_subdevs
	movl	%eax, %r13d
LBB0_6:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_da903x_ops,8,3                 ## @da903x_ops
	.comm	_da903x_irq_work,4,2            ## @da903x_irq_work
	.comm	_da903x_irq_handler,4,2         ## @da903x_irq_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"da903x"

L_.str.1:                               ## @.str.1
	.asciz	"failed to request irq %d\n"

	.no_dead_strip	_da903x_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da903x_probe
_da903x_probe:                          ; @da903x_probe
	.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	x23, x1
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_dev_get_platdata
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	stp	x19, x20, [x0, #32]
Lloh3:
	adrp	x8, _da903x_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _da903x_ops@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x23]
	mov	w10, #24
	madd	x8, x9, x10, x8
	str	x8, [x0, #8]
	add	x0, x0, #24
	bl	_mutex_init
	add	x0, x22, #20
Lloh6:
	adrp	x8, _da903x_irq_work@GOTPAGE
Lloh7:
	ldr	x8, [x8, _da903x_irq_work@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x22, #16
	bl	_BLOCKING_INIT_NOTIFIER_HEAD
	mov	x0, x20
	mov	x1, x22
	bl	_i2c_set_clientdata
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	mov	x0, x22
	blr	x8
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.2:
	mov	w8, #-1
	str	w8, [x22]
	ldr	x8, [x22, #8]
	ldr	x8, [x8, #16]
	mov	x0, x22
	mov	w1, #-1
	blr	x8
	ldr	x8, [x22, #8]
	ldr	x8, [x8, #8]
	add	x1, sp, #12
	mov	x0, x22
	blr	x8
	ldr	w1, [x20]
Lloh9:
	adrp	x8, _da903x_irq_handler@GOTPAGE
Lloh10:
	ldr	x8, [x8, _da903x_irq_handler@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x4, l_.str@PAGE
Lloh16:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x19
	mov	x5, x22
	bl	_devm_request_irq
	cbz	w0, LBB0_5
; %bb.3:
	mov	x23, x0
	ldr	w2, [x20]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_6
LBB0_4:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_6
LBB0_5:
	mov	x0, x22
	mov	x1, x21
	bl	_da903x_add_subdevs
	mov	x23, x0
LBB0_6:
	mov	x0, x23
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_da903x_ops,8,3                 ; @da903x_ops
	.comm	_da903x_irq_work,4,2            ; @da903x_irq_work
	.comm	_da903x_irq_handler,4,2         ; @da903x_irq_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"da903x"

l_.str.1:                               ; @.str.1
	.asciz	"failed to request irq %d\n"

	.no_dead_strip	_da903x_probe
.subsections_via_symbols
