	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_unpack                      ## -- Begin function ib_unpack
	.p2align	4, 0x90
_ib_unpack:                             ## @ib_unpack
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jle	LBB0_12
## %bb.1:
	movq	%rdi, %r13
	movl	%esi, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$-1, %rbx
	movl	%eax, %ecx
	shlq	%cl, %rbx
	movl	4(%r13,%r15), %edx
	notq	%rbx
	leal	(%rax,%rdx), %ecx
	addl	$32, %ecx
	negl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rbx
	movl	%eax, %r12d
	addl	%edx, %r12d
	movslq	8(%r13,%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	callq	_be32_to_cpup
	andl	%eax, %ebx
	negb	%r12b
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %ecx
	sarl	%cl, %ebx
	movl	12(%r13,%r15), %edi
	movl	20(%r13,%r15), %esi
	movl	%ebx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_value_write
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %r15
	cmpq	%r15, %r14
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 20(%r13,%r15)
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13,%r15), %eax
	cmpl	$32, %eax
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13,%r15), %ecx
	cmpl	$64, %eax
	ja	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	addl	%ecx, %r12d
	negb	%al
	movq	$-1, %rbx
	movl	%eax, %ecx
	shrq	%cl, %rbx
	negb	%r12b
	movl	%r12d, %ecx
	shlq	%cl, %rbx
	movslq	8(%r13,%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	callq	_be64_to_cpup
	andl	%eax, %ebx
	jmp	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %edx
	orl	%eax, %edx
	testb	$7, %dl
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r13,%r15), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	callq	_pr_warn
	movl	(%r13,%r15), %eax
	movl	4(%r13,%r15), %ecx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	12(%r13,%r15), %rdi
	addq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	movslq	8(%r13,%r15), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rdx,4), %rdx
	leal	7(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$3, %esi
	movslq	%esi, %rsi
	addq	%rdx, %rsi
	leal	7(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
	callq	_memcpy
	jmp	LBB0_11
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Structure field %s of size %d bits is not byte-aligned\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_unpack                      ; -- Begin function ib_unpack
	.p2align	2
_ib_unpack:                             ; @ib_unpack
	.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
	cmp	w1, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	w22, w1
	add	x23, x0, #12
	mov	w24, #32
	mov	x25, #-1
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w8, w9, [x23, #-8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	w26, w2, w8
	sub	w8, w24, w26
	lsl	x10, x25, x2
	mvn	x10, x10
	lsl	x27, x10, x8
	add	x0, x20, x9, lsl #2
	bl	_be32_to_cpup
	and	w8, w0, w27
	neg	w9, w26
	asr	w2, w8, w9
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23]
	ldr	w1, [x23, #8]
	mov	x3, x19
	bl	_value_write
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #24
	subs	x22, x22, #1
	b.eq	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w2, [x23, #-12]
	cmp	w2, #32
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x23, #-8]
	cmp	w2, #64
	b.hi	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	neg	x9, x2
	lsr	x9, x25, x9
	add	w8, w2, w8
	neg	w26, w8
	lsl	x27, x9, x26
	ldursw	x8, [x23, #-4]
	add	x0, x20, x8, lsl #2
	bl	_be64_to_cpup
	and	w8, w0, w27
	asr	w2, w8, w26
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w8, w2
	tst	w9, #0x7
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23, #4]
	mov	x0, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_pr_warn
	ldp	w2, w8, [x23, #-12]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x9, [x23]
	add	x0, x19, x9
	ldursw	x9, [x23, #-4]
	add	x9, x20, x9, lsl #2
	add	w10, w8, #7
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #3
	add	x1, x9, w8, sxtw
	add	w8, w2, #7
	cmp	w2, #0
	csel	w8, w8, w2, lt
	asr	w2, w8, #3
	bl	_memcpy
	b	LBB0_4
LBB0_12:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Structure field %s of size %d bits is not byte-aligned\n"

.subsections_via_symbols
