	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max77650_gpio_probe
_max77650_gpio_probe:                   ## @max77650_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	%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	(%rdi), %r13
	movq	%r13, %rdi
	callq	_to_i2c_client
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_dev_get_regmap
	movl	%eax, 72(%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_platform_get_irq_byname
	movq	%rax, (%rbx)
	testq	%rax, %rax
	js	LBB0_5
## %bb.7:
	movq	%rbx, %rsi
	addq	$8, %rsi
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, 8(%rbx)
	movl	(%r15), %eax
	movl	%eax, 64(%rbx)
	movq	%r14, 56(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	$1, 16(%rbx)
	movq	_max77650_gpio_direction_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_max77650_gpio_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_max77650_gpio_set_value@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_max77650_gpio_get_value@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_max77650_gpio_get_direction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_max77650_gpio_set_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_max77650_gpio_to_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_gpiochip_add_data         ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_6
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_6
LBB0_5:
	movq	%rax, %r12
LBB0_6:
	movl	%r12d, %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	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GPI"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_max77650_gpio_direction_input,4,2 ## @max77650_gpio_direction_input
	.comm	_max77650_gpio_direction_output,4,2 ## @max77650_gpio_direction_output
	.comm	_max77650_gpio_set_value,4,2    ## @max77650_gpio_set_value
	.comm	_max77650_gpio_get_value,4,2    ## @max77650_gpio_get_value
	.comm	_max77650_gpio_get_direction,4,2 ## @max77650_gpio_get_direction
	.comm	_max77650_gpio_set_config,4,2   ## @max77650_gpio_set_config
	.comm	_max77650_gpio_to_irq,4,2       ## @max77650_gpio_to_irq
	.no_dead_strip	_max77650_gpio_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function max77650_gpio_probe
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_max77650_gpio_probe:                   ; @max77650_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
	mov	x19, x0
	ldr	x22, [x0]
	mov	x0, x22
	bl	_to_i2c_client
	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, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	mov	x0, x22
	mov	x1, #0
	bl	_dev_get_regmap
	str	w0, [x20, #72]
	cbz	w0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	str	x0, [x20]
	tbnz	x0, #63, LBB0_7
; %bb.3:
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	mov	x1, x20
	str	d0, [x1, #8]!
	ldr	w8, [x21]
	str	w8, [x20, #64]
Lloh7:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
	str	x19, [x20, #56]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20, #48]
	mov	w8, #1
Lloh10:
	adrp	x9, _max77650_gpio_direction_input@GOTPAGE
Lloh11:
	ldr	x9, [x9, _max77650_gpio_direction_input@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _max77650_gpio_direction_output@GOTPAGE
Lloh14:
	ldr	x10, [x10, _max77650_gpio_direction_output@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	stp	w10, w9, [x20, #40]
Lloh16:
	adrp	x9, _max77650_gpio_set_value@GOTPAGE
Lloh17:
	ldr	x9, [x9, _max77650_gpio_set_value@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _max77650_gpio_get_value@GOTPAGE
Lloh20:
	ldr	x10, [x10, _max77650_gpio_get_value@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	stp	w10, w9, [x20, #32]
Lloh22:
	adrp	x9, _max77650_gpio_get_direction@GOTPAGE
Lloh23:
	ldr	x9, [x9, _max77650_gpio_get_direction@GOTPAGEOFF]
Lloh24:
	adrp	x10, _max77650_gpio_set_config@GOTPAGE
Lloh25:
	ldr	x10, [x10, _max77650_gpio_set_config@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	ldr	w10, [x10]
	stp	w10, w9, [x20, #24]
Lloh28:
	adrp	x9, _max77650_gpio_to_irq@GOTPAGE
Lloh29:
	ldr	x9, [x9, _max77650_gpio_to_irq@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	stp	w8, w9, [x20, #16]
	mov	x0, x19
	mov	x2, x20
	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
	b	_devm_gpiochip_add_data
LBB0_4:
Lloh31:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh33:
	adrp	x8, _ENODEV@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GPI"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_max77650_gpio_direction_input,4,2 ; @max77650_gpio_direction_input
	.comm	_max77650_gpio_direction_output,4,2 ; @max77650_gpio_direction_output
	.comm	_max77650_gpio_set_value,4,2    ; @max77650_gpio_set_value
	.comm	_max77650_gpio_get_value,4,2    ; @max77650_gpio_get_value
	.comm	_max77650_gpio_get_direction,4,2 ; @max77650_gpio_get_direction
	.comm	_max77650_gpio_set_config,4,2   ; @max77650_gpio_set_config
	.comm	_max77650_gpio_to_irq,4,2       ; @max77650_gpio_to_irq
	.no_dead_strip	_max77650_gpio_probe
.subsections_via_symbols
