	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether1_txalloc
_ether1_txalloc:                        ## @ether1_txalloc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r14
	incl	%r13d
	andl	$-2, %r13d
	callq	_priv
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_priv
	movl	4(%rax), %ebx
	addl	%r13d, %ebx
	movq	_TX_AREA_END@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_priv
	movl	4(%rax), %eax
	cmpl	%r15d, %ebx
	jle	LBB0_4
## %bb.1:
	movl	$-1, %r15d
	cmpl	%eax, %r12d
	jg	LBB0_7
## %bb.2:
	movq	_TX_AREA_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%ebx, %r13d
	cmpl	%r12d, %r13d
	jg	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	callq	_priv
	movl	%r13d, 4(%rax)
	movl	%ebx, %r15d
	jmp	LBB0_7
LBB0_4:
	cmpl	%r12d, %eax
	jge	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_priv
	movl	4(%rax), %eax
	addl	%r13d, %eax
	movl	$-1, %r15d
	cmpl	%r12d, %eax
	jg	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_priv
	movl	4(%rax), %r15d
	movq	%r14, %rdi
	callq	_priv
	addl	%r13d, 4(%rax)
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_AREA_END,4,2                ## @TX_AREA_END
	.comm	_TX_AREA_START,4,2              ## @TX_AREA_START
	.no_dead_strip	_ether1_txalloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether1_txalloc
_ether1_txalloc:                        ; @ether1_txalloc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	add	w8, w1, #1
	and	w21, w8, #0xfffffffe
	bl	_priv
	ldr	w22, [x0]
	mov	x0, x19
	bl	_priv
	ldr	w8, [x0, #4]
	add	w20, w8, w21
Lloh0:
	adrp	x8, _TX_AREA_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_AREA_END@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_priv
	ldr	w8, [x0, #4]
	cmp	w20, w23
	b.le	LBB0_4
; %bb.1:
	cmp	w22, w8
	b.gt	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _TX_AREA_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TX_AREA_START@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	add	w21, w20, w21
	cmp	w21, w22
	b.gt	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_priv
	str	w21, [x0, #4]
	b	LBB0_8
LBB0_4:
	cmp	w8, w22
	b.ge	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_priv
	ldr	w8, [x0, #4]
	add	w8, w8, w21
	cmp	w8, w22
	b.le	LBB0_7
LBB0_6:
	mov	w20, #-1
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_priv
	ldr	w20, [x0, #4]
	mov	x0, x19
	bl	_priv
	ldr	w8, [x0, #4]
	add	w8, w8, w21
	str	w8, [x0, #4]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_AREA_END,4,2                ; @TX_AREA_END
	.comm	_TX_AREA_START,4,2              ; @TX_AREA_START
	.no_dead_strip	_ether1_txalloc
.subsections_via_symbols
