	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adm6996_gpio_probe
_adm6996_gpio_probe:                    ## @adm6996_gpio_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	leaq	28(%rax), %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	addq	$24, %rdi
	callq	_mutex_init
	movl	12(%rbx), %esi
	movl	%esi, 8(%r15)
	movl	8(%rbx), %eax
	movl	%eax, 4(%r15)
	movl	4(%rbx), %eax
	movl	%eax, (%r15)
	movl	(%rbx), %eax
	movl	%eax, 20(%r15)
	movq	_adm6996_read_gpio_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_adm6996_write_gpio_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_devm_gpio_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.6:
	movl	4(%r15), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_devm_gpio_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movl	(%r15), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_devm_gpio_request
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	callq	_dev_name
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_adm6996_switch_init
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	jmp	LBB0_11
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%eax, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adm6996_read_gpio_reg,4,2      ## @adm6996_read_gpio_reg
	.comm	_adm6996_write_gpio_reg,4,2     ## @adm6996_write_gpio_reg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adm_eecs"

L_.str.1:                               ## @.str.1
	.asciz	"adm_eedi"

L_.str.2:                               ## @.str.2
	.asciz	"adm_eesk"

	.no_dead_strip	_adm6996_gpio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adm6996_gpio_probe
_adm6996_gpio_probe:                    ; @adm6996_gpio_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
	ldr	x21, [x0]
	cbz	x21, LBB0_7
; %bb.1:
	mov	x19, x0
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_8
; %bb.2:
	mov	x20, x0
	add	x0, x0, #28
	bl	_mutex_init
	add	x0, x20, #24
	bl	_mutex_init
	ldr	w1, [x21, #12]
	str	w1, [x20, #8]
	ldur	d0, [x21, #4]
	str	d0, [x20]
	ldr	w8, [x21]
	str	w8, [x20, #20]
Lloh3:
	adrp	x8, _adm6996_read_gpio_reg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _adm6996_read_gpio_reg@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _adm6996_write_gpio_reg@GOTPAGE
Lloh7:
	ldr	x9, [x9, _adm6996_write_gpio_reg@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_gpio_request
	cbnz	w0, LBB0_10
; %bb.3:
	ldr	w1, [x20, #4]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_gpio_request
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	w1, [x20]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_gpio_request
	cbnz	w0, LBB0_10
; %bb.5:
	mov	x0, x19
	bl	_dev_name
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_adm6996_switch_init
	tbnz	w0, #31, LBB0_10
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	w0, #0
	b	LBB0_10
LBB0_7:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adm6996_read_gpio_reg,4,2      ; @adm6996_read_gpio_reg
	.comm	_adm6996_write_gpio_reg,4,2     ; @adm6996_write_gpio_reg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adm_eecs"

l_.str.1:                               ; @.str.1
	.asciz	"adm_eedi"

l_.str.2:                               ; @.str.2
	.asciz	"adm_eesk"

	.no_dead_strip	_adm6996_gpio_probe
.subsections_via_symbols
