	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intr_write_modify
_intr_write_modify:                     ## @intr_write_modify
	.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
	movl	%r8d, %ebx
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rdx), %edi
	callq	_GPIO_BIT
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_GPIO_LOCK
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r12), %edi
	callq	_GPIO_REGNUM
	leaq	(%rax,%r15), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_bus_read_4
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	shll	%cl, %ebx
	notl	%ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	andl	%eax, %ebx
	orl	%ebx, %r13d
	movl	(%r14), %ebx
	movl	(%r12), %edi
	callq	_GPIO_REGNUM
	addq	%rax, %r15
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_bus_write_4
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GPIO_UNLOCK                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intr_write_modify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intr_write_modify
_intr_write_modify:                     ; @intr_write_modify
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w0, [x2]
	bl	_GPIO_BIT
	mov	x24, x0
	mov	x0, x23
	bl	_GPIO_LOCK
	ldr	w25, [x23]
	ldr	w0, [x21]
	bl	_GPIO_REGNUM
	add	x1, x0, x22
	mov	x0, x25
	bl	_bus_read_4
	lsl	w8, w19, w24
	bic	w8, w0, w8
	lsl	w9, w20, w24
	orr	w19, w8, w9
	ldr	w20, [x23]
	ldr	w0, [x21]
	bl	_GPIO_REGNUM
	add	x1, x0, x22
	mov	x0, x20
	mov	x2, x19
	bl	_bus_write_4
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_GPIO_UNLOCK
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intr_write_modify
.subsections_via_symbols
