	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpi_exp_gpio_probe
_rpi_exp_gpio_probe:                    ## @rpi_exp_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r14
	movq	%r14, %rdi
	callq	_of_get_parent
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rpi_firmware_get
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_of_node_put
	testq	%r15, %r15
	je	LBB0_3
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r15, 56(%rax)
	movq	%r12, 48(%rax)
	movq	_MODULE_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 44(%rax)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rax)
	movq	%r14, 32(%rax)
	movl	$-1, (%rax)
	movq	_NUM_GPIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rax)
	movq	_rpi_exp_gpio_dir_in@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movq	_rpi_exp_gpio_dir_out@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_rpi_exp_gpio_get_direction@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_rpi_exp_gpio_get@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_rpi_exp_gpio_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	$1, 4(%rax)
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_gpiochip_add_data         ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing firmware node\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MODULE_NAME,4,2                ## @MODULE_NAME
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_NUM_GPIO,4,2                   ## @NUM_GPIO
	.comm	_rpi_exp_gpio_dir_in,4,2        ## @rpi_exp_gpio_dir_in
	.comm	_rpi_exp_gpio_dir_out,4,2       ## @rpi_exp_gpio_dir_out
	.comm	_rpi_exp_gpio_get_direction,4,2 ## @rpi_exp_gpio_get_direction
	.comm	_rpi_exp_gpio_get,4,2           ## @rpi_exp_gpio_get
	.comm	_rpi_exp_gpio_set,4,2           ## @rpi_exp_gpio_set
	.no_dead_strip	_rpi_exp_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 rpi_exp_gpio_probe
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rpi_exp_gpio_probe:                    ; @rpi_exp_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	x20, [x0]
	mov	x0, x20
	bl	_of_get_parent
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	bl	_rpi_firmware_get
	mov	x21, x0
	mov	x0, x22
	bl	_of_node_put
	cbz	x21, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x1, x0
	stp	x19, x21, [x0, #48]
Lloh3:
	adrp	x8, _MODULE_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODULE_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
	str	x20, [x0, #32]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
Lloh11:
	adrp	x8, _NUM_GPIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NUM_GPIO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _rpi_exp_gpio_dir_in@GOTPAGE
Lloh15:
	ldr	x9, [x9, _rpi_exp_gpio_dir_in@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _rpi_exp_gpio_dir_out@GOTPAGE
Lloh18:
	ldr	x10, [x10, _rpi_exp_gpio_dir_out@GOTPAGEOFF]
	stp	w9, w8, [x0, #24]
Lloh19:
	ldr	w8, [x10]
Lloh20:
	adrp	x9, _rpi_exp_gpio_get_direction@GOTPAGE
Lloh21:
	ldr	x9, [x9, _rpi_exp_gpio_get_direction@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh23:
	adrp	x8, _rpi_exp_gpio_get@GOTPAGE
Lloh24:
	ldr	x8, [x8, _rpi_exp_gpio_get@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _rpi_exp_gpio_set@GOTPAGE
Lloh27:
	ldr	x9, [x9, _rpi_exp_gpio_set@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	mov	x0, x19
	mov	x2, x1
	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:
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh31:
	adrp	x8, _ENOENT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh33:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	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 AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdrp	Lloh9, Lloh11
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing firmware node\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MODULE_NAME,4,2                ; @MODULE_NAME
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_NUM_GPIO,4,2                   ; @NUM_GPIO
	.comm	_rpi_exp_gpio_dir_in,4,2        ; @rpi_exp_gpio_dir_in
	.comm	_rpi_exp_gpio_dir_out,4,2       ; @rpi_exp_gpio_dir_out
	.comm	_rpi_exp_gpio_get_direction,4,2 ; @rpi_exp_gpio_get_direction
	.comm	_rpi_exp_gpio_get,4,2           ; @rpi_exp_gpio_get
	.comm	_rpi_exp_gpio_set,4,2           ; @rpi_exp_gpio_set
	.no_dead_strip	_rpi_exp_gpio_probe
.subsections_via_symbols
