	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_gpio_irq_disable
_bcm2835_gpio_irq_disable:              ## @bcm2835_gpio_irq_disable
	.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, %rbx
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_irqd_to_hwirq
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_GPIO_REG_SHIFT
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_GPIO_REG_OFFSET
	movl	%eax, %ebx
	shlq	$2, %rbx
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_raw_spin_lock_irqsave
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_bcm2835_gpio_irq_config
	movq	_GPEDS0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_bcm2835_gpio_set_bit
	movq	8(%r15), %rsi
	addq	%rbx, %rsi
	movl	%r14d, %edi
	callq	_clear_bit
	addq	(%r15), %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_spin_unlock_irqrestore     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPEDS0,4,2                     ## @GPEDS0
	.no_dead_strip	_bcm2835_gpio_irq_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2835_gpio_irq_disable
_bcm2835_gpio_irq_disable:              ; @bcm2835_gpio_irq_disable
	.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
	bl	_irq_data_get_irq_chip_data
	bl	_gpiochip_get_data
	mov	x20, x0
	mov	x0, x19
	bl	_irqd_to_hwirq
	mov	x19, x0
	bl	_GPIO_REG_SHIFT
	mov	x21, x0
	mov	x0, x19
	bl	_GPIO_REG_OFFSET
	ldr	x8, [x20]
	mov	w9, w0
	lsl	x22, x9, #2
	add	x0, x8, x22
	bl	_raw_spin_lock_irqsave
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_bcm2835_gpio_irq_config
Lloh0:
	adrp	x8, _GPEDS0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPEDS0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_bcm2835_gpio_set_bit
	ldr	x8, [x20, #8]
	add	x1, x8, x22
	mov	x0, x21
	bl	_clear_bit
	ldr	x8, [x20]
	add	x0, x8, x22
	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	_raw_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPEDS0,4,2                     ; @GPEDS0
	.no_dead_strip	_bcm2835_gpio_irq_disable
.subsections_via_symbols
