	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixp4xx_gpio_child_to_parent_hwirq
_ixp4xx_gpio_child_to_parent_hwirq:     ## @ixp4xx_gpio_child_to_parent_hwirq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IRQ_TYPE_LEVEL_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8)
	cmpl	$1, %esi
	je	LBB0_4
## %bb.1:
	testl	%esi, %esi
	jne	LBB0_5
## %bb.2:
	movl	$6, (%rcx)
	jmp	LBB0_3
LBB0_4:
	movl	$7, (%rcx)
	jmp	LBB0_3
LBB0_5:
	cmpl	$12, %esi
	ja	LBB0_7
## %bb.6:
	addl	$17, %esi
	movl	%esi, (%rcx)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_TYPE_LEVEL_HIGH,4,2        ## @IRQ_TYPE_LEVEL_HIGH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ixp4xx_gpio_child_to_parent_hwirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixp4xx_gpio_child_to_parent_hwirq
_ixp4xx_gpio_child_to_parent_hwirq:     ; @ixp4xx_gpio_child_to_parent_hwirq
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IRQ_TYPE_LEVEL_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_TYPE_LEVEL_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x4]
	cmp	w1, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w1, LBB0_4
; %bb.2:
	mov	w0, #0
	mov	w8, #6
	str	w8, [x3]
	ret
LBB0_3:
	mov	w0, #0
	mov	w8, #7
	str	w8, [x3]
	ret
LBB0_4:
	cmp	w1, #12
	b.hi	LBB0_6
; %bb.5:
	mov	w0, #0
	add	w8, w1, #17
	str	w8, [x3]
	ret
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_TYPE_LEVEL_HIGH,4,2        ; @IRQ_TYPE_LEVEL_HIGH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ixp4xx_gpio_child_to_parent_hwirq
.subsections_via_symbols
