	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function moxtet_gpio_probe
_moxtet_gpio_probe:                     ## @moxtet_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, %r14
	movq	(%rdi), %rbx
	callq	_to_moxtet_device
	movslq	(%rax), %r15
	movq	_descs@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r15d
	jge	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rbx
	movq	%r14, 56(%rax)
	movq	%r14, 40(%rax)
	shlq	$2, %r15
	addq	(%r12), %r15
	movq	%r15, 48(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 36(%rbx)
	movq	_moxtet_gpio_get_direction@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_moxtet_gpio_direction_input@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_moxtet_gpio_direction_output@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_moxtet_gpio_get_value@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_moxtet_gpio_set_value@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	$-1, (%rbx)
	movq	_MOXTET_GPIO_NGPIOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$1, 4(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %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	%r14, %rdi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_dev_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	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
	.comm	_descs,8,3                      ## @descs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%pOF Moxtet device id 0x%x is not supported by gpio-moxtet driver\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_moxtet_gpio_get_direction,4,2  ## @moxtet_gpio_get_direction
	.comm	_moxtet_gpio_direction_input,4,2 ## @moxtet_gpio_direction_input
	.comm	_moxtet_gpio_direction_output,4,2 ## @moxtet_gpio_direction_output
	.comm	_moxtet_gpio_get_value,4,2      ## @moxtet_gpio_get_value
	.comm	_moxtet_gpio_set_value,4,2      ## @moxtet_gpio_set_value
	.comm	_MOXTET_GPIO_NGPIOS,4,2         ## @MOXTET_GPIO_NGPIOS
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_moxtet_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 moxtet_gpio_probe
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_moxtet_gpio_probe:                     ; @moxtet_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]
	bl	_to_moxtet_device
	ldrsw	x21, [x0]
Lloh0:
	adrp	x22, _descs@GOTPAGE
Lloh1:
	ldr	x22, [x22, _descs@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w21, w0
	b.ge	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #64
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	ldr	x8, [x22]
	add	x8, x8, x21, lsl #2
	str	x19, [x0, #40]
	stp	x8, x19, [x0, #48]
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	mov	x0, x19
	bl	_dev_name
Lloh5:
	adrp	x8, _moxtet_gpio_get_direction@GOTPAGE
Lloh6:
	ldr	x8, [x8, _moxtet_gpio_get_direction@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #32]
Lloh8:
	adrp	x8, _moxtet_gpio_direction_input@GOTPAGE
Lloh9:
	ldr	x8, [x8, _moxtet_gpio_direction_input@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _moxtet_gpio_direction_output@GOTPAGE
Lloh12:
	ldr	x9, [x9, _moxtet_gpio_direction_output@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
Lloh14:
	adrp	x8, _moxtet_gpio_get_value@GOTPAGE
Lloh15:
	ldr	x8, [x8, _moxtet_gpio_get_value@GOTPAGEOFF]
Lloh16:
	adrp	x9, _moxtet_gpio_set_value@GOTPAGE
Lloh17:
	ldr	x9, [x9, _moxtet_gpio_set_value@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
Lloh20:
	adrp	x8, lCPI0_0@PAGE
Lloh21:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
Lloh22:
	adrp	x8, _MOXTET_GPIO_NGPIOS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MOXTET_GPIO_NGPIOS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	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_3:
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_dev_err
Lloh30:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdrp	Lloh20, Lloh22
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_descs,8,3                      ; @descs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%pOF Moxtet device id 0x%x is not supported by gpio-moxtet driver\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_moxtet_gpio_get_direction,4,2  ; @moxtet_gpio_get_direction
	.comm	_moxtet_gpio_direction_input,4,2 ; @moxtet_gpio_direction_input
	.comm	_moxtet_gpio_direction_output,4,2 ; @moxtet_gpio_direction_output
	.comm	_moxtet_gpio_get_value,4,2      ; @moxtet_gpio_get_value
	.comm	_moxtet_gpio_set_value,4,2      ; @moxtet_gpio_set_value
	.comm	_MOXTET_GPIO_NGPIOS,4,2         ; @MOXTET_GPIO_NGPIOS
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_moxtet_gpio_probe
.subsections_via_symbols
