	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da9150_probe
_da9150_probe:                          ## @da9150_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, %r12
	leaq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_dev_get_platdata
	movq	%rax, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rbx, 24(%rax)
	movl	4(%r12), %eax
	movl	%eax, 20(%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	_da9150_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, 32(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	32(%r15), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	24(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_13
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_DA9150_CORE2WIRE_CTRL_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_da9150_reg_read
	movq	_DA9150_CORE_BASE_ADDR_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sarl	%eax
	movq	_DA9150_QIF_I2C_ADDR_LSB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_i2c_new_dummy_device
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.14:
	movq	24(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	8(%r15), %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	8(%r15), %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:
	movl	(%r14), %ecx
	movl	4(%r14), %eax
	movq	_da9150_devs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_DA9150_FG_IDX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%eax, 4(%rdx,%rsi,8)
	movl	$4, (%rdx,%rsi,8)
	jmp	LBB0_8
LBB0_6:
	movl	$-1, %ecx
LBB0_8:
	movl	%ecx, (%r15)
	movq	32(%r15), %rdi
	movl	20(%r15), %esi
	movq	_IRQF_TRIGGER_LOW@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	%r15, %r9
	addq	$16, %r9
	movq	_da9150_regmap_irq_chip@GOTPCREL(%rip), %r8
	callq	_regmap_add_irq_chip
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	movq	24(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_12
LBB0_10:
	movl	16(%r15), %edi
	callq	_regmap_irq_chip_get_base
	movl	%eax, (%r15)
	movl	20(%r15), %edi
	callq	_enable_irq_wake
	movq	24(%r15), %r14
	movq	_da9150_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	(%r15), %r9d
	movq	$0, (%rsp)
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	$-1, %esi
	movq	%r12, %rdx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_mfd_add_devices
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movl	%eax, %r14d
	movq	24(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	16(%r15), %esi
	movl	20(%r15), %edi
	callq	_regmap_del_irq_chip
	movl	%r14d, %ebx
LBB0_12:
	movq	8(%r15), %rdi
	callq	_i2c_unregister_device
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_da9150_regmap_config,4,2       ## @da9150_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate register map: %d\n"

	.comm	_DA9150_CORE2WIRE_CTRL_A,4,2    ## @DA9150_CORE2WIRE_CTRL_A
	.comm	_DA9150_CORE_BASE_ADDR_MASK,4,2 ## @DA9150_CORE_BASE_ADDR_MASK
	.comm	_DA9150_QIF_I2C_ADDR_LSB,4,2    ## @DA9150_QIF_I2C_ADDR_LSB
L_.str.1:                               ## @.str.1
	.asciz	"Failed to attach QIF client\n"

	.comm	_da9150_devs,8,3                ## @da9150_devs
	.comm	_DA9150_FG_IDX,8,3              ## @DA9150_FG_IDX
	.comm	_IRQF_TRIGGER_LOW,4,2           ## @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_da9150_regmap_irq_chip,4,2     ## @da9150_regmap_irq_chip
L_.str.2:                               ## @.str.2
	.asciz	"Failed to add regmap irq chip: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to add child devices: %d\n"

	.no_dead_strip	_da9150_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da9150_probe
_da9150_probe:                          ; @da9150_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x0
	add	x22, x0, #8
	mov	x0, x22
	bl	_dev_get_platdata
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	str	x22, [x0, #24]
	ldr	w8, [x21, #4]
	str	w8, [x0, #20]
	mov	x0, x21
	mov	x1, x19
	bl	_i2c_set_clientdata
Lloh3:
	adrp	x1, _da9150_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _da9150_regmap_config@GOTPAGEOFF]
	mov	x0, x21
	bl	_devm_regmap_init_i2c
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x19, #32]
	bl	_PTR_ERR
	mov	x20, x0
	ldr	x0, [x19, #24]
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_4:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_5:
Lloh10:
	adrp	x8, _DA9150_CORE2WIRE_CTRL_A@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DA9150_CORE2WIRE_CTRL_A@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_da9150_reg_read
Lloh13:
	adrp	x8, _DA9150_CORE_BASE_ADDR_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DA9150_CORE_BASE_ADDR_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh16:
	adrp	x9, _DA9150_QIF_I2C_ADDR_LSB@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DA9150_QIF_I2C_ADDR_LSB@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w9, w8, asr #1
	ldr	w0, [x21]
	bl	_i2c_new_dummy_device
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x19, #24]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #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
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_7:
	ldr	x0, [x19, #8]
	mov	x1, x19
	bl	_i2c_set_clientdata
	cbz	x20, LBB0_9
; %bb.8:
	ldp	w3, w8, [x20]
Lloh21:
	adrp	x9, _da9150_devs@GOTPAGE
Lloh22:
	ldr	x9, [x9, _da9150_devs@GOTPAGEOFF]
Lloh23:
	adrp	x10, _DA9150_FG_IDX@GOTPAGE
Lloh24:
	ldr	x10, [x10, _DA9150_FG_IDX@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
Lloh26:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #3
	mov	w10, #4
	stp	w10, w8, [x9]
	b	LBB0_10
LBB0_9:
	mov	w3, #-1
LBB0_10:
	str	w3, [x19]
	ldr	x0, [x19, #32]
	ldr	w1, [x19, #20]
Lloh27:
	adrp	x8, _IRQF_TRIGGER_LOW@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRQF_TRIGGER_LOW@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w2, w9, w8
	add	x5, x19, #16
Lloh33:
	adrp	x4, _da9150_regmap_irq_chip@GOTPAGE
Lloh34:
	ldr	x4, [x4, _da9150_regmap_irq_chip@GOTPAGEOFF]
	bl	_regmap_add_irq_chip
	cbz	w0, LBB0_12
; %bb.11:
	mov	x20, x0
	ldr	x0, [x19, #24]
	str	x20, [sp]
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_14
LBB0_12:
	ldr	w0, [x19, #16]
	bl	_regmap_irq_chip_get_base
	str	w0, [x19]
	ldr	w0, [x19, #20]
	bl	_enable_irq_wake
	ldr	x20, [x19, #24]
Lloh37:
	adrp	x8, _da9150_devs@GOTPAGE
Lloh38:
	ldr	x8, [x8, _da9150_devs@GOTPAGEOFF]
Lloh39:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x3, x0
	ldr	w5, [x19]
	mov	x0, x20
	mov	w1, #-1
	mov	x2, x21
	mov	x4, #0
	mov	x6, #0
	bl	_mfd_add_devices
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.13:
	ldr	x0, [x19, #24]
	str	x20, [sp]
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	ldp	w1, w0, [x19, #16]
	bl	_regmap_del_irq_chip
LBB0_14:
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	ldr	x0, [x19, #8]
	bl	_i2c_unregister_device
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_da9150_regmap_config,4,2       ; @da9150_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate register map: %d\n"

	.comm	_DA9150_CORE2WIRE_CTRL_A,4,2    ; @DA9150_CORE2WIRE_CTRL_A
	.comm	_DA9150_CORE_BASE_ADDR_MASK,4,2 ; @DA9150_CORE_BASE_ADDR_MASK
	.comm	_DA9150_QIF_I2C_ADDR_LSB,4,2    ; @DA9150_QIF_I2C_ADDR_LSB
l_.str.1:                               ; @.str.1
	.asciz	"Failed to attach QIF client\n"

	.comm	_da9150_devs,8,3                ; @da9150_devs
	.comm	_DA9150_FG_IDX,8,3              ; @DA9150_FG_IDX
	.comm	_IRQF_TRIGGER_LOW,4,2           ; @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_da9150_regmap_irq_chip,4,2     ; @da9150_regmap_irq_chip
l_.str.2:                               ; @.str.2
	.asciz	"Failed to add regmap irq chip: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to add child devices: %d\n"

	.no_dead_strip	_da9150_probe
.subsections_via_symbols
