	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcf50633_mbc_probe
_pcf50633_mbc_probe:                    ## @pcf50633_mbc_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -64(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movl	(%r14), %edi
	callq	_dev_to_pcf50633
	movq	%rax, (%r12)
	movq	_mbc_irq_handlers@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_pcf50633_mbc_irq_handler@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_pcf50633_register_irq
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	%r12, -56(%rbp)
	movq	_pcf50633_mbc_adapter_desc@GOTPCREL(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	callq	_power_supply_register
	movq	%rax, 24(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	24(%r12), %rdi
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_16
LBB0_8:
	movups	-64(%rbp), %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	_pcf50633_mbc_sysfs_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	_pcf50633_mbc_usb_desc@GOTPCREL(%rip), %rsi
	leaq	-96(%rbp), %rdx
	movq	%r14, %rdi
	callq	_power_supply_register
	movq	%rax, 16(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	24(%r12), %rdi
	callq	_power_supply_unregister
	movq	16(%r12), %rdi
	jmp	LBB0_7
LBB0_10:
	movq	_pcf50633_mbc_ac_desc@GOTPCREL(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	callq	_power_supply_register
	movq	%rax, 8(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%r12), %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	(%rdi), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	24(%r12), %rdi
	callq	_power_supply_unregister
	movq	16(%r12), %rdi
	callq	_power_supply_unregister
	movq	8(%r12), %rdi
LBB0_7:
	callq	_PTR_ERR
	movl	%eax, %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_PCF50633_REG_MBCS1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pcf50633_reg_read
	movl	%eax, %r15d
	movq	_PCF50633_MBCS1_USBPRES@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_14
## %bb.13:
	movq	_PCF50633_IRQ_USBINS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_pcf50633_mbc_irq_handler
LBB0_14:
	movq	_PCF50633_MBCS1_ADAPTPRES@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	testl	%r15d, (%rax)
	je	LBB0_16
## %bb.15:
	movq	_PCF50633_IRQ_ADPINS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_pcf50633_mbc_irq_handler
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mbc_irq_handlers,8,3           ## @mbc_irq_handlers
	.comm	_pcf50633_mbc_adapter_desc,4,2  ## @pcf50633_mbc_adapter_desc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register adapter\n"

	.comm	_pcf50633_mbc_sysfs_groups,4,2  ## @pcf50633_mbc_sysfs_groups
	.comm	_pcf50633_mbc_usb_desc,4,2      ## @pcf50633_mbc_usb_desc
L_.str.1:                               ## @.str.1
	.asciz	"failed to register usb\n"

	.comm	_pcf50633_mbc_ac_desc,4,2       ## @pcf50633_mbc_ac_desc
L_.str.2:                               ## @.str.2
	.asciz	"failed to register ac\n"

	.comm	_PCF50633_REG_MBCS1,4,2         ## @PCF50633_REG_MBCS1
	.comm	_PCF50633_MBCS1_USBPRES,4,2     ## @PCF50633_MBCS1_USBPRES
	.comm	_PCF50633_IRQ_USBINS,4,2        ## @PCF50633_IRQ_USBINS
	.comm	_PCF50633_MBCS1_ADAPTPRES,4,2   ## @PCF50633_MBCS1_ADAPTPRES
	.comm	_PCF50633_IRQ_ADPINS,4,2        ## @PCF50633_IRQ_ADPINS
	.no_dead_strip	_pcf50633_mbc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcf50633_mbc_probe
_pcf50633_mbc_probe:                    ; @pcf50633_mbc_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	w0, [x20]
	bl	_dev_to_pcf50633
	str	x0, [x19]
Lloh3:
	adrp	x22, _mbc_irq_handlers@GOTPAGE
Lloh4:
	ldr	x22, [x22, _mbc_irq_handlers@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, #0
Lloh5:
	adrp	x21, _pcf50633_mbc_irq_handler@GOTPAGE
Lloh6:
	ldr	x21, [x21, _pcf50633_mbc_irq_handler@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x8, [x22]
	ldr	w1, [x8, x23, lsl #2]
	mov	x2, x21
	mov	x3, x19
	bl	_pcf50633_register_irq
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_3
LBB0_4:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	d0, [x8]
	str	d0, [sp, #40]
	str	x19, [sp, #32]
Lloh7:
	adrp	x1, _pcf50633_mbc_adapter_desc@GOTPAGE
Lloh8:
	ldr	x1, [x1, _pcf50633_mbc_adapter_desc@GOTPAGEOFF]
	add	x2, sp, #24
	mov	x0, x20
	bl	_power_supply_register
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #24]
	bl	_PTR_ERR
	b	LBB0_16
LBB0_6:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_7:
	ldur	q0, [sp, #24]
	str	q0, [sp]
	ldr	x8, [sp, #40]
	str	x8, [sp, #16]
Lloh14:
	adrp	x8, _pcf50633_mbc_sysfs_groups@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pcf50633_mbc_sysfs_groups@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp]
Lloh17:
	adrp	x1, _pcf50633_mbc_usb_desc@GOTPAGE
Lloh18:
	ldr	x1, [x1, _pcf50633_mbc_usb_desc@GOTPAGEOFF]
	mov	x2, sp
	mov	x0, x20
	bl	_power_supply_register
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #24]
	bl	_power_supply_unregister
	ldr	x0, [x19, #16]
	bl	_PTR_ERR
	b	LBB0_16
LBB0_9:
Lloh21:
	adrp	x1, _pcf50633_mbc_ac_desc@GOTPAGE
Lloh22:
	ldr	x1, [x1, _pcf50633_mbc_ac_desc@GOTPAGEOFF]
	add	x2, sp, #24
	mov	x0, x20
	bl	_power_supply_register
	str	x0, [x19, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	w0, [x0]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #24]
	bl	_power_supply_unregister
	ldr	x0, [x19, #16]
	bl	_power_supply_unregister
	ldr	x0, [x19, #8]
	bl	_PTR_ERR
	b	LBB0_16
LBB0_11:
Lloh25:
	adrp	x8, _PCF50633_REG_MBCS1@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PCF50633_REG_MBCS1@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_pcf50633_reg_read
	mov	x20, x0
Lloh28:
	adrp	x8, _PCF50633_MBCS1_USBPRES@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PCF50633_MBCS1_USBPRES@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.12:
Lloh31:
	adrp	x8, _PCF50633_IRQ_USBINS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PCF50633_IRQ_USBINS@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_pcf50633_mbc_irq_handler
LBB0_13:
Lloh34:
	adrp	x8, _PCF50633_MBCS1_ADAPTPRES@GOTPAGE
Lloh35:
	ldr	x8, [x8, _PCF50633_MBCS1_ADAPTPRES@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.14:
Lloh37:
	adrp	x8, _PCF50633_IRQ_ADPINS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PCF50633_IRQ_ADPINS@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_pcf50633_mbc_irq_handler
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mbc_irq_handlers,8,3           ; @mbc_irq_handlers
	.comm	_pcf50633_mbc_adapter_desc,4,2  ; @pcf50633_mbc_adapter_desc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register adapter\n"

	.comm	_pcf50633_mbc_sysfs_groups,4,2  ; @pcf50633_mbc_sysfs_groups
	.comm	_pcf50633_mbc_usb_desc,4,2      ; @pcf50633_mbc_usb_desc
l_.str.1:                               ; @.str.1
	.asciz	"failed to register usb\n"

	.comm	_pcf50633_mbc_ac_desc,4,2       ; @pcf50633_mbc_ac_desc
l_.str.2:                               ; @.str.2
	.asciz	"failed to register ac\n"

	.comm	_PCF50633_REG_MBCS1,4,2         ; @PCF50633_REG_MBCS1
	.comm	_PCF50633_MBCS1_USBPRES,4,2     ; @PCF50633_MBCS1_USBPRES
	.comm	_PCF50633_IRQ_USBINS,4,2        ; @PCF50633_IRQ_USBINS
	.comm	_PCF50633_MBCS1_ADAPTPRES,4,2   ; @PCF50633_MBCS1_ADAPTPRES
	.comm	_PCF50633_IRQ_ADPINS,4,2        ; @PCF50633_IRQ_ADPINS
	.no_dead_strip	_pcf50633_mbc_probe
.subsections_via_symbols
