	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcf8591_probe
_pcf8591_probe:                         ## @pcf8591_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	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	callq	_pcf8591_init_client
	movq	_pcf8591_attr_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_3
LBB0_8:
	movq	%r15, %rdi
	callq	_kfree
	movl	%r12d, %ebx
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	movq	_input_mode@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	cmpl	$3, (%r13)
	jne	LBB0_4
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_dev_attr_in2_input@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	movq	_pcf8591_attr_group_opt@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	movq	_pcf8591_attr_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
	jmp	LBB0_8
LBB0_5:
	cmpl	$0, (%r13)
	jne	LBB0_9
## %bb.6:
	movq	_dev_attr_in3_input@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pcf8591_attr_group,4,2         ## @pcf8591_attr_group
	.comm	_input_mode,4,2                 ## @input_mode
	.comm	_dev_attr_in2_input,4,2         ## @dev_attr_in2_input
	.comm	_dev_attr_in3_input,4,2         ## @dev_attr_in3_input
	.comm	_pcf8591_attr_group_opt,4,2     ## @pcf8591_attr_group_opt
	.no_dead_strip	_pcf8591_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcf8591_probe
_pcf8591_probe:                         ; @pcf8591_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
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	mov	x0, x20
	bl	_mutex_init
	mov	x0, x19
	bl	_pcf8591_init_client
Lloh3:
	adrp	x1, _pcf8591_attr_group@GOTPAGE
Lloh4:
	ldr	x1, [x1, _pcf8591_attr_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbz	w0, LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_kfree
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x22, _input_mode@GOTPAGE
Lloh9:
	ldr	x22, [x22, _input_mode@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #3
	b.ne	LBB0_7
LBB0_5:
	mov	w21, #0
LBB0_6:
	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
LBB0_7:
Lloh10:
	adrp	x1, _dev_attr_in2_input@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_attr_in2_input@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	mov	x21, x0
	cbz	w0, LBB0_9
LBB0_8:
Lloh12:
	adrp	x1, _pcf8591_attr_group_opt@GOTPAGE
Lloh13:
	ldr	x1, [x1, _pcf8591_attr_group_opt@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
Lloh14:
	adrp	x1, _pcf8591_attr_group@GOTPAGE
Lloh15:
	ldr	x1, [x1, _pcf8591_attr_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	b	LBB0_2
LBB0_9:
	ldr	w8, [x22]
	cbnz	w8, LBB0_5
; %bb.10:
Lloh16:
	adrp	x1, _dev_attr_in3_input@GOTPAGE
Lloh17:
	ldr	x1, [x1, _dev_attr_in3_input@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	mov	x21, x0
	cbnz	w0, LBB0_8
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pcf8591_attr_group,4,2         ; @pcf8591_attr_group
	.comm	_input_mode,4,2                 ; @input_mode
	.comm	_dev_attr_in2_input,4,2         ; @dev_attr_in2_input
	.comm	_dev_attr_in3_input,4,2         ; @dev_attr_in3_input
	.comm	_pcf8591_attr_group_opt,4,2     ; @pcf8591_attr_group_opt
	.no_dead_strip	_pcf8591_probe
.subsections_via_symbols
