	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpmc_gpio_init
_gpmc_gpio_init:                        ## @gpmc_gpio_init
	.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
	movl	(%rdi), %edi
	leaq	4(%rbx), %rsi
	movl	%edi, 40(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_DEVICE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_gpmc_nr_waitpins@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_gpmc_gpio_get_direction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_gpmc_gpio_direction_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_gpmc_gpio_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_gpmc_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_gpmc_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$-1, 4(%rbx)
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	callq	_devm_gpiochip_add_data
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movl	%r14d, %r15d
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_DEVICE_NAME,4,2                ## @DEVICE_NAME
	.comm	_gpmc_nr_waitpins,4,2           ## @gpmc_nr_waitpins
	.comm	_gpmc_gpio_get_direction,4,2    ## @gpmc_gpio_get_direction
	.comm	_gpmc_gpio_direction_input,4,2  ## @gpmc_gpio_direction_input
	.comm	_gpmc_gpio_direction_output,4,2 ## @gpmc_gpio_direction_output
	.comm	_gpmc_gpio_set,4,2              ## @gpmc_gpio_set
	.comm	_gpmc_gpio_get,4,2              ## @gpmc_gpio_get
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not register gpio chip: %d\n"

	.no_dead_strip	_gpmc_gpio_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpmc_gpio_init
_gpmc_gpio_init:                        ; @gpmc_gpio_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	str	w0, [x19, #40]
Lloh0:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DEVICE_NAME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DEVICE_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh6:
	adrp	x8, _gpmc_nr_waitpins@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gpmc_nr_waitpins@GOTPAGEOFF]
Lloh8:
	adrp	x9, _gpmc_gpio_get_direction@GOTPAGE
Lloh9:
	ldr	x9, [x9, _gpmc_gpio_get_direction@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh12:
	adrp	x8, _gpmc_gpio_direction_input@GOTPAGE
Lloh13:
	ldr	x8, [x8, _gpmc_gpio_direction_input@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _gpmc_gpio_direction_output@GOTPAGE
Lloh16:
	ldr	x9, [x9, _gpmc_gpio_direction_output@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh18:
	adrp	x8, _gpmc_gpio_set@GOTPAGE
Lloh19:
	ldr	x8, [x8, _gpmc_gpio_set@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _gpmc_gpio_get@GOTPAGE
Lloh22:
	ldr	x9, [x9, _gpmc_gpio_get@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	mov	w8, #-1
	mov	x1, x19
	str	w8, [x1, #4]!
	mov	x2, #0
	bl	_devm_gpiochip_add_data
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	mov	x20, x0
	ldr	w0, [x19]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_DEVICE_NAME,4,2                ; @DEVICE_NAME
	.comm	_gpmc_nr_waitpins,4,2           ; @gpmc_nr_waitpins
	.comm	_gpmc_gpio_get_direction,4,2    ; @gpmc_gpio_get_direction
	.comm	_gpmc_gpio_direction_input,4,2  ; @gpmc_gpio_direction_input
	.comm	_gpmc_gpio_direction_output,4,2 ; @gpmc_gpio_direction_output
	.comm	_gpmc_gpio_set,4,2              ; @gpmc_gpio_set
	.comm	_gpmc_gpio_get,4,2              ; @gpmc_gpio_get
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not register gpio chip: %d\n"

	.no_dead_strip	_gpmc_gpio_init
.subsections_via_symbols
