	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macgpio_print_child
_macgpio_print_child:                   ## @macgpio_print_child
	.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
	movl	%esi, %r12d
	movl	%edi, %r14d
	movl	%esi, %edi
	callq	_device_get_ivars
	movq	%rax, %rbx
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_bus_print_child_header
	movq	%rax, %r15
	movq	(%rbx), %rsi
	movq	_GPIO_BASE@GOTPCREL(%rip), %rcx
	movq	%rsi, %rax
	subq	(%rcx), %rax
	jge	LBB0_4
## %bb.1:
	movq	_GPIO_EXTINT_BASE@GOTPCREL(%rip), %rcx
	movq	%rsi, %rax
	subq	(%rcx), %rax
	jge	LBB0_5
## %bb.2:
	testq	%rsi, %rsi
	js	LBB0_8
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	movq	%rax, %rsi
LBB0_7:
	callq	_printf
LBB0_8:
	addq	$8, %rbx
	movq	_SYS_RES_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rcx
	movq	%rbx, %rdi
	callq	_resource_list_print_type
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_bus_print_child_footer
	addl	%r15d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_BASE,8,3                  ## @GPIO_BASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" gpio %d"

	.comm	_GPIO_EXTINT_BASE,8,3           ## @GPIO_EXTINT_BASE
L_.str.1:                               ## @.str.1
	.asciz	" extint-gpio %d"

L_.str.2:                               ## @.str.2
	.asciz	" addr 0x%02x"

L_.str.3:                               ## @.str.3
	.asciz	"irq"

	.comm	_SYS_RES_IRQ,4,2                ## @SYS_RES_IRQ
L_.str.4:                               ## @.str.4
	.asciz	"%jd"

	.no_dead_strip	_macgpio_print_child
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macgpio_print_child
_macgpio_print_child:                   ; @macgpio_print_child
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_device_get_ivars
	mov	x22, x0
	mov	x0, x20
	mov	x1, x19
	bl	_bus_print_child_header
	mov	x21, x0
	ldr	x1, [x22]
Lloh0:
	adrp	x8, _GPIO_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_BASE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	subs	x8, x1, x8
	b.ge	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _GPIO_EXTINT_BASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_EXTINT_BASE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	subs	x8, x1, x8
	b.ge	LBB0_5
; %bb.2:
	tbnz	x1, #63, LBB0_8
; %bb.3:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	mov	x1, x8
LBB0_7:
	bl	_printf
LBB0_8:
	add	x0, x22, #8
Lloh12:
	adrp	x8, _SYS_RES_IRQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SYS_RES_IRQ@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh17:
	adrp	x3, l_.str.4@PAGE
Lloh18:
	add	x3, x3, l_.str.4@PAGEOFF
	bl	_resource_list_print_type
	mov	x0, x20
	mov	x1, x19
	bl	_bus_print_child_footer
	add	w0, w0, w21
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_BASE,8,3                  ; @GPIO_BASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" gpio %d"

	.comm	_GPIO_EXTINT_BASE,8,3           ; @GPIO_EXTINT_BASE
l_.str.1:                               ; @.str.1
	.asciz	" extint-gpio %d"

l_.str.2:                               ; @.str.2
	.asciz	" addr 0x%02x"

l_.str.3:                               ; @.str.3
	.asciz	"irq"

	.comm	_SYS_RES_IRQ,4,2                ; @SYS_RES_IRQ
l_.str.4:                               ; @.str.4
	.asciz	"%jd"

	.no_dead_strip	_macgpio_print_child
.subsections_via_symbols
