	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpiomm_gpio_set_multiple
_gpiomm_gpio_set_multiple:              ## @gpiomm_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_gpiochip_get_data
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	je	LBB0_6
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r14d
	shrl	$3, %r14d
	cmpl	$24, %r15d
	movl	%r14d, %r13d
	sbbl	$-1, %r13d
	movl	%r15d, %edi
	callq	_BIT_WORD
	movl	(%rbx,%rax,8), %r12d
	movl	%r15d, %edi
	callq	_BIT_WORD
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	andl	(%rcx,%rax,8), %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_irqsave
	movl	%r15d, %edi
	callq	_BIT_WORD
	movq	(%rbx,%rax,8), %rax
	notq	%rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	andq	(%rcx,%r14,8), %rax
	orq	%rax, %r12
	movq	%r12, (%rcx,%r14,8)
	addq	16(%rdx), %r13
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_outb
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	movl	%r15d, %edi
	callq	_BIT_WORD
	shrq	$8, (%rbx,%rax,8)
	movl	%r15d, %edi
	callq	_BIT_WORD
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	shrq	$8, (%rcx,%rax,8)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	$8, %r15d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r15d
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_BIT_WORD
	cmpq	$0, (%rbx,%rax,8)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_BIT_WORD
	movq	%rax, %r15
	incl	%r15d
	movq	_BITS_PER_LONG@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	addl	$-8, %r15d
	jmp	LBB0_5
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_PER_LONG,4,2              ## @BITS_PER_LONG
	.no_dead_strip	_gpiomm_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 gpiomm_gpio_set_multiple
_gpiomm_gpio_set_multiple:              ; @gpiomm_gpio_set_multiple
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_gpiochip_get_data
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x22, x0
	mov	w24, #0
	add	x23, x0, #8
Lloh0:
	adrp	x25, _BITS_PER_LONG@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BITS_PER_LONG@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsr	w26, w24, #3
	cmp	w24, #23
	cinc	w27, w26, hi
	mov	x0, x24
	bl	_BIT_WORD
	ldr	x28, [x20, x0, lsl #3]
	mov	x0, x24
	bl	_BIT_WORD
	ldr	x8, [x19, x0, lsl #3]
	and	w28, w28, w8
	mov	x0, x23
	bl	_spin_lock_irqsave
	mov	x0, x24
	bl	_BIT_WORD
	ldr	x8, [x20, x0, lsl #3]
	ldr	x9, [x22]
	lsl	w10, w26, #3
	ldr	x11, [x9, x10]
	bic	x8, x11, x8
	orr	x0, x8, x28
	str	x0, [x9, x10]
	ldr	x8, [x22, #16]
	add	x1, x8, x27
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_outb
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	mov	x0, x24
	bl	_BIT_WORD
	lsl	x8, x0, #3
	ldr	x9, [x20, x8]
	lsr	x9, x9, #8
	str	x9, [x20, x8]
	mov	x0, x24
	bl	_BIT_WORD
	lsl	x8, x0, #3
	ldr	x9, [x19, x8]
	lsr	x9, x9, #8
	str	x9, [x19, x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #8
	ldr	w8, [x21]
	cmp	w24, w8
	b.hs	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_BIT_WORD
	ldr	x8, [x20, x0, lsl #3]
	cbnz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_BIT_WORD
	ldr	w8, [x25]
	madd	w8, w8, w0, w8
	sub	w24, w8, #8
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_PER_LONG,4,2              ; @BITS_PER_LONG
	.no_dead_strip	_gpiomm_gpio_set_multiple
.subsections_via_symbols
