	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avtab_write_item               ## -- Begin function avtab_write_item
	.p2align	4, 0x90
_avtab_write_item:                      ## @avtab_write_item
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	16(%rsi), %edi
	callq	_cpu_to_le16
	movl	%eax, -48(%rbp)
	movl	12(%rbx), %edi
	callq	_cpu_to_le16
	movl	%eax, -44(%rbp)
	movl	8(%rbx), %edi
	callq	_cpu_to_le16
	movl	%eax, -40(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_le16
	movl	%eax, -36(%rbp)
	leaq	-48(%rbp), %rdi
	movl	$4, %esi
	movl	$4, %edx
	movq	%r14, %rcx
	callq	_put_entry
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_cpu_to_le32
	movl	%eax, -52(%rbp)
	leaq	-52(%rbp), %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_put_entry
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avtab_write_item               ; -- Begin function avtab_write_item
	.p2align	2
_avtab_write_item:                      ; @avtab_write_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w0, [x1, #16]
	bl	_cpu_to_le16
	str	w0, [sp, #8]
	ldr	w0, [x20, #12]
	bl	_cpu_to_le16
	str	w0, [sp, #12]
	ldr	w0, [x20, #8]
	bl	_cpu_to_le16
	str	w0, [sp, #16]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	str	w0, [sp, #20]
	add	x0, sp, #8
	mov	w1, #4
	mov	w2, #4
	mov	x3, x19
	bl	_put_entry
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_cpu_to_le32
	str	w0, [sp, #4]
	add	x0, sp, #4
	mov	w1, #4
	mov	w2, #1
	mov	x3, x19
	bl	_put_entry
LBB0_2:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
