	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swap_nflog_header
_swap_nflog_header:                     ## @swap_nflog_header
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r14d
	cmpl	$8, %r14d
	jl	LBB0_9
## %bb.1:
	movl	4(%rdi), %r15d
	cmpl	$8, %r15d
	jl	LBB0_9
## %bb.2:
	movq	%rsi, %rbx
	cmpq	$0, (%rsi)
	jne	LBB0_9
## %bb.3:
	addl	$-8, %r14d
	cmpl	$8, %r14d
	jb	LBB0_9
## %bb.4:
	addq	$32, %rbx
	addl	$-8, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_SWAPSHORT
	movl	%eax, (%rbx)
	movl	4(%rbx), %edi
	callq	_SWAPSHORT
	movl	%eax, 4(%rbx)
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-4, %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	movl	$4, %ecx
	subl	%edx, %ecx
	testl	%edx, %edx
	cmovel	%edx, %ecx
	addl	%eax, %ecx
	cmpl	$8, %ecx
	jb	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	subl	%ecx, %r14d
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%ecx, %r15d
	jl	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%ecx, %rax
	subl	%ecx, %r15d
	leaq	(%rbx,%rax,4), %rbx
	cmpl	$7, %r14d
	ja	LBB0_5
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_swap_nflog_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swap_nflog_header
_swap_nflog_header:                     ; @swap_nflog_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	w9, w8, [x0]
	subs	w19, w9, #8
	ccmp	w8, #8, #8, ge
	b.lt	LBB0_6
; %bb.1:
	ldr	x9, [x1]
	cbnz	x9, LBB0_6
; %bb.2:
	cmp	w19, #8
	b.lo	LBB0_6
; %bb.3:
	add	x20, x1, #32
	sub	w21, w8, #8
	mov	w22, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_SWAPSHORT
	str	w0, [x20]
	ldr	w0, [x20, #4]
	bl	_SWAPSHORT
	str	w0, [x20, #4]
	negs	w8, w0
	and	w8, w8, #0x3
	and	w9, w0, #0x3
	csneg	w8, w9, w8, mi
	sub	w9, w22, w8
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	add	w9, w8, w0
	sxtw	x8, w9
	cmp	w9, #8
	ccmp	w19, w8, #8, hs
	ccmp	w21, w8, #8, ge
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w21, w21, w8
	sub	w19, w19, w8
	add	x20, x20, x8, lsl #2
	cmp	w19, #7
	b.hi	LBB0_4
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_swap_nflog_header
.subsections_via_symbols
