	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idio_16_gpio_set_multiple
_idio_16_gpio_set_multiple:             ## @idio_16_gpio_set_multiple
	.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	%rdx, %r12
	movq	%rsi, %r15
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	leaq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_raw_spin_lock_irqsave
	movq	(%r15), %rax
	notq	%rax
	andq	(%rbx), %rax
	movq	%rax, (%rbx)
	movq	(%r12), %rdi
	andq	(%r15), %rdi
	orq	%rax, %rdi
	movq	%rdi, (%rbx)
	movq	(%r15), %rax
	testb	%al, %al
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_outb
	movq	(%r15), %rax
LBB0_2:
	testl	$65280, %eax                    ## imm = 0xFF00
	je	LBB0_4
## %bb.3:
	movl	1(%rbx), %edi
	movq	16(%rbx), %rsi
	addq	$4, %rsi
	callq	_outb
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_spin_unlock_irqrestore     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_idio_16_gpio_set_multiple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idio_16_gpio_set_multiple
_idio_16_gpio_set_multiple:             ; @idio_16_gpio_set_multiple
	.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	x22, x2
	mov	x21, x1
	bl	_gpiochip_get_data
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_raw_spin_lock_irqsave
	ldr	x8, [x21]
	ldr	x9, [x20]
	bic	x8, x9, x8
	str	x8, [x20]
	ldr	x9, [x21]
	ldr	x10, [x22]
	and	x9, x10, x9
	orr	x0, x9, x8
	str	x0, [x20]
	ldr	x8, [x21]
	tst	x8, #0xff
	b.eq	LBB0_2
; %bb.1:
	ldr	x1, [x20, #16]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_outb
	ldr	x8, [x21]
LBB0_2:
	tst	x8, #0xff00
	b.eq	LBB0_4
; %bb.3:
	ldur	w0, [x20, #1]
	ldr	x8, [x20, #16]
	add	x1, x8, #4
	bl	_outb
LBB0_4:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_idio_16_gpio_set_multiple
.subsections_via_symbols
