	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idi_48_gpio_get_multiple
_idi_48_gpio_get_multiple:              ## @idi_48_gpio_get_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, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_gpiochip_get_data
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$7, %edi
	xorl	%esi, %esi
	callq	_GENMASK
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_bitmap_zero
	leaq	_idi_48_gpio_get_multiple.ports(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	addq	$8, %r15
	cmpq	%rax, %r13
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_BIT_WORD
	movq	%rax, %rsi
	movl	%r15d, %eax
	xorl	%edx, %edx
	movq	_BITS_PER_LONG@GOTPCREL(%rip), %rcx
	divl	(%rcx)
	movl	%edx, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%r12d, %ecx
	shlq	%cl, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	andq	(%rax,%rsi,8), %rbx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%r14), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	callq	_inb
	movl	%r12d, %ecx
	shlq	%cl, %rax
	andq	%rbx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	orq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @idi_48_gpio_get_multiple.ports
_idi_48_gpio_get_multiple.ports:
	.quad	0                               ## 0x0
	.quad	1                               ## 0x1
	.quad	2                               ## 0x2
	.quad	4                               ## 0x4
	.quad	5                               ## 0x5
	.quad	6                               ## 0x6

	.comm	_BITS_PER_LONG,4,2              ## @BITS_PER_LONG
	.no_dead_strip	_idi_48_gpio_get_multiple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idi_48_gpio_get_multiple
_idi_48_gpio_get_multiple:              ; @idi_48_gpio_get_multiple
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x0
	bl	_gpiochip_get_data
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	w0, #7
	mov	w1, #0
	bl	_GENMASK
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x19
	bl	_bitmap_zero
Lloh0:
	adrp	x23, _idi_48_gpio_get_multiple.ports@PAGE
Lloh1:
	add	x23, x23, _idi_48_gpio_get_multiple.ports@PAGEOFF
	mov	x0, x23
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_5
; %bb.1:
	mov	w24, #0
	mov	x26, #0
Lloh2:
	adrp	x27, _BITS_PER_LONG@GOTPAGE
Lloh3:
	ldr	x27, [x27, _BITS_PER_LONG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	mov	x0, x23
	bl	_ARRAY_SIZE
	add	w24, w24, #8
	cmp	x26, x0
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_BIT_WORD
	ldr	w8, [x27]
	udiv	w9, w24, w8
	msub	w28, w9, w8, w24
	ldr	x8, [x20, x0, lsl #3]
	lsl	x9, x22, x28
	ands	x21, x9, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x9, [x23, x26, lsl #3]
	add	x0, x9, x8
	bl	_inb
	lsl	x8, x0, x28
	and	x8, x8, x21
	lsl	x9, x25, #3
	ldr	x10, [x19, x9]
	orr	x8, x8, x10
	str	x8, [x19, x9]
	b	LBB0_2
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @idi_48_gpio_get_multiple.ports
_idi_48_gpio_get_multiple.ports:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.quad	2                               ; 0x2
	.quad	4                               ; 0x4
	.quad	5                               ; 0x5
	.quad	6                               ; 0x6

	.comm	_BITS_PER_LONG,4,2              ; @BITS_PER_LONG
	.no_dead_strip	_idi_48_gpio_get_multiple
.subsections_via_symbols
