	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_ext_init
_gpio_ext_init:                         ## @gpio_ext_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	%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	%rsi, %r12
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rsi, %rsi
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, (%r12)
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	movq	_GPIOF_OUT_INIT_LOW@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_devm_gpio_request_one
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_5:
	cmpl	$0, 4(%r12)
	jle	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	movq	_GPIOF_OUT_INIT_LOW@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_devm_gpio_request_one
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	4(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movl	8(%r12), %esi
	movq	_GPIOF_OUT_INIT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_gpio_request_one          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GPIOF_OUT_INIT_LOW,4,2         ## @GPIOF_OUT_INIT_LOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GPIO extension addr"

L_.str.1:                               ## @.str.1
	.asciz	"GPIO extension data"

L_.str.2:                               ## @.str.2
	.asciz	"GPIO extension enable"

	.no_dead_strip	_gpio_ext_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_ext_init
_gpio_ext_init:                         ; @gpio_ext_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	cmp	x1, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w8, [x20]
Lloh3:
	adrp	x22, _GPIOF_OUT_INIT_LOW@GOTPAGE
Lloh4:
	ldr	x22, [x22, _GPIOF_OUT_INIT_LOW@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x23, #0
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	ldr	w1, [x8, x23, lsl #2]
	ldr	w2, [x22]
	mov	x0, x19
	mov	x3, x21
	bl	_devm_gpio_request_one
	cbnz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20]
	cmp	x23, x8
	b.lt	LBB0_5
LBB0_7:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.8:
	mov	x23, #0
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w1, [x8, x23, lsl #2]
	ldr	w2, [x22]
	mov	x0, x19
	mov	x3, x21
	bl	_devm_gpio_request_one
	cbnz	w0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x20, #4]
	cmp	x23, x8
	b.lt	LBB0_9
LBB0_11:
	ldr	w1, [x20, #8]
	ldr	w2, [x22]
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_devm_gpio_request_one
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GPIOF_OUT_INIT_LOW,4,2         ; @GPIOF_OUT_INIT_LOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GPIO extension addr"

l_.str.1:                               ; @.str.1
	.asciz	"GPIO extension data"

l_.str.2:                               ; @.str.2
	.asciz	"GPIO extension enable"

	.no_dead_strip	_gpio_ext_init
.subsections_via_symbols
