	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_gpio_pic_config_intr
_bcm_gpio_pic_config_intr:              ## @bcm_gpio_pic_config_intr
	.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	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	12(%rsi), %edi
	callq	_BCM_GPIO_BANK
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_BCM_GPIO_LOCK
	movq	%r12, %rdi
	callq	_BCM_GPIO_GPREN
	movq	_GPIO_INTR_EDGE_RISING@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	sete	%sil
	movq	_GPIO_INTR_EDGE_BOTH@GOTPCREL(%rip), %rbx
	cmpq	%r13, (%rbx)
	movl	8(%r15), %edx
	sete	%cl
	orb	%sil, %cl
	movzbl	%cl, %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bcm_gpio_modify
	movq	%r12, %rdi
	callq	_BCM_GPIO_GPFEN
	movq	_GPIO_INTR_EDGE_FALLING@GOTPCREL(%rip), %rcx
	cmpq	%r13, (%rcx)
	sete	%cl
	cmpq	%r13, (%rbx)
	movl	8(%r15), %edx
	sete	%bl
	orb	%cl, %bl
	movzbl	%bl, %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bcm_gpio_modify
	movq	%r12, %rdi
	callq	_BCM_GPIO_GPHEN
	movl	8(%r15), %edx
	movq	_GPIO_INTR_LEVEL_HIGH@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpq	%r13, (%rsi)
	sete	%cl
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bcm_gpio_modify
	movq	%r12, %rdi
	callq	_BCM_GPIO_GPLEN
	movl	8(%r15), %edx
	movq	_GPIO_INTR_LEVEL_LOW@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpq	%r13, (%rsi)
	sete	%cl
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_bcm_gpio_modify
	movq	%r13, (%r15)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BCM_GPIO_UNLOCK                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_INTR_EDGE_RISING,8,3      ## @GPIO_INTR_EDGE_RISING
	.comm	_GPIO_INTR_EDGE_BOTH,8,3        ## @GPIO_INTR_EDGE_BOTH
	.comm	_GPIO_INTR_EDGE_FALLING,8,3     ## @GPIO_INTR_EDGE_FALLING
	.comm	_GPIO_INTR_LEVEL_HIGH,8,3       ## @GPIO_INTR_LEVEL_HIGH
	.comm	_GPIO_INTR_LEVEL_LOW,8,3        ## @GPIO_INTR_LEVEL_LOW
	.no_dead_strip	_bcm_gpio_pic_config_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_gpio_pic_config_intr
_bcm_gpio_pic_config_intr:              ; @bcm_gpio_pic_config_intr
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x1, #12]
	bl	_BCM_GPIO_BANK
	mov	x22, x0
	mov	x0, x20
	bl	_BCM_GPIO_LOCK
	mov	x0, x22
	bl	_BCM_GPIO_GPREN
	mov	x1, x0
	ldr	w2, [x21, #8]
Lloh0:
	adrp	x8, _GPIO_INTR_EDGE_RISING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_INTR_EDGE_RISING@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
Lloh3:
	adrp	x23, _GPIO_INTR_EDGE_BOTH@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GPIO_INTR_EDGE_BOTH@GOTPAGEOFF]
	ldr	x8, [x23]
	ccmp	x8, x19, #4, ne
	cset	w3, eq
	mov	x0, x20
	bl	_bcm_gpio_modify
	mov	x0, x22
	bl	_BCM_GPIO_GPFEN
	mov	x1, x0
Lloh5:
	adrp	x8, _GPIO_INTR_EDGE_FALLING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GPIO_INTR_EDGE_FALLING@GOTPAGEOFF]
	ldr	w2, [x21, #8]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x19
	ldr	x8, [x23]
	ccmp	x8, x19, #4, ne
	cset	w3, eq
	mov	x0, x20
	bl	_bcm_gpio_modify
	mov	x0, x22
	bl	_BCM_GPIO_GPHEN
	mov	x1, x0
	ldr	w2, [x21, #8]
Lloh8:
	adrp	x8, _GPIO_INTR_LEVEL_HIGH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GPIO_INTR_LEVEL_HIGH@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w3, eq
	mov	x0, x20
	bl	_bcm_gpio_modify
	mov	x0, x22
	bl	_BCM_GPIO_GPLEN
	mov	x1, x0
	ldr	w2, [x21, #8]
Lloh11:
	adrp	x8, _GPIO_INTR_LEVEL_LOW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GPIO_INTR_LEVEL_LOW@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x19
	cset	w3, eq
	mov	x0, x20
	bl	_bcm_gpio_modify
	str	x19, [x21]
	mov	x0, x20
	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	_BCM_GPIO_UNLOCK
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_INTR_EDGE_RISING,8,3      ; @GPIO_INTR_EDGE_RISING
	.comm	_GPIO_INTR_EDGE_BOTH,8,3        ; @GPIO_INTR_EDGE_BOTH
	.comm	_GPIO_INTR_EDGE_FALLING,8,3     ; @GPIO_INTR_EDGE_FALLING
	.comm	_GPIO_INTR_LEVEL_HIGH,8,3       ; @GPIO_INTR_LEVEL_HIGH
	.comm	_GPIO_INTR_LEVEL_LOW,8,3        ; @GPIO_INTR_LEVEL_LOW
	.no_dead_strip	_bcm_gpio_pic_config_intr
.subsections_via_symbols
