	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wrap_fir_skb
_wrap_fir_skb:                          ## @wrap_fir_skb
	.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
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rdi), %rsi
	movl	8(%rdi), %edx
	movl	$-1, %edi
	callq	_crc32_le
	movl	%eax, %r15d
	movabsq	$730144440405, %rax             ## imm = 0xAA00000055
	movq	%rax, (%r14)
	movq	_STIR_IRDA_HEADER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	leaq	(%r14,%rbx,4), %rdi
	movl	$127, %esi
	movl	$16, %edx
	callq	_memset
	movabsq	$541165879422, %r12             ## imm = 0x7E0000007E
	movq	%r12, 64(%r14,%rbx,4)
	leaq	(%r14,%rbx,4), %rax
	addq	$72, %rax
	cmpl	$0, 8(%r13)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movl	(%rcx,%rbx,4), %esi
	movq	%rax, %rdi
	callq	_stuff_fir
	incq	%rbx
	movslq	8(%r13), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_2
LBB0_3:
	movl	%r15d, %ebx
	notl	%ebx
	movzbl	%bl, %esi
	movq	%rax, %rdi
	callq	_stuff_fir
	movzbl	%bh, %esi
	movq	%rax, %rdi
	callq	_stuff_fir
	movl	%ebx, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %esi
	movq	%rax, %rdi
	callq	_stuff_fir
	shrl	$24, %ebx
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_stuff_fir
	movq	%r12, (%rax)
	subq	%r14, %rax
	addq	$8, %rax
	shrq	$2, %rax
	movl	%eax, %ecx
	movq	_STIR_IRDA_HEADER@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	movzbl	%cl, %edx
	movl	%edx, 8(%r14)
	movzbl	%ch, %ecx
	movl	%ecx, 12(%r14)
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STIR_IRDA_HEADER,4,2           ## @STIR_IRDA_HEADER
	.no_dead_strip	_wrap_fir_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wrap_fir_skb
lCPI0_0:
	.long	85                              ; 0x55
	.long	170                             ; 0xaa
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wrap_fir_skb:                          ; @wrap_fir_skb
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x1, [x0]
	ldr	w2, [x0, #8]
	mov	w0, #-1
	bl	_crc32_le
	mov	x21, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
Lloh2:
	adrp	x23, _STIR_IRDA_HEADER@GOTPAGE
Lloh3:
	ldr	x23, [x23, _STIR_IRDA_HEADER@GOTPAGEOFF]
	ldrsw	x8, [x23]
	add	x22, x19, x8, lsl #2
	mov	x0, x22
	mov	w1, #127
	mov	w2, #16
	bl	_memset
	add	x0, x22, #72
	movi.2s	v8, #126
	str	d8, [x22, #64]
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w1, [x8, x22, lsl #2]
	bl	_stuff_fir
	add	x22, x22, #1
	ldrsw	x8, [x20, #8]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mvn	w20, w21
	and	w1, w20, #0xff
	bl	_stuff_fir
	ubfx	w1, w20, #8, #8
	bl	_stuff_fir
	ubfx	w1, w20, #16, #8
	bl	_stuff_fir
	lsr	w1, w20, #24
	bl	_stuff_fir
	str	d8, [x0]
	sub	x8, x0, x19
	add	x8, x8, #8
	lsr	x0, x8, #2
	ldr	w8, [x23]
	sub	w8, w0, w8
	and	w9, w8, #0xff
	ubfx	w8, w8, #8, #8
	stp	w9, w8, [x19, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STIR_IRDA_HEADER,4,2           ; @STIR_IRDA_HEADER
	.no_dead_strip	_wrap_fir_skb
.subsections_via_symbols
