	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ether1394_encapsulate_prep
_ether1394_encapsulate_prep:            ## @ether1394_encapsulate_prep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	_hdr_type_len@GOTPCREL(%rip), %r9
	movq	(%r9), %r11
	movq	_ETH1394_HDR_LF_UF@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movl	%edi, %eax
	subl	(%r11,%r10,4), %eax
	cmpl	%ecx, %eax
	jae	LBB0_1
## %bb.2:
	movq	_ETH1394_HDR_LF_FF@GOTPCREL(%rip), %r10
	movq	(%r10), %rax
	movq	%rax, (%rdx)
	movq	%rsi, 16(%rdx)
	leal	-1(%rcx), %eax
	movl	%eax, 8(%rdx)
	movl	%r8d, 12(%rdx)
	movq	(%r9), %rax
	movq	(%r10), %rdx
	subl	(%rax,%rdx,4), %edi
	movl	%edi, %eax
	jmp	LBB0_3
LBB0_1:
	movq	%r10, (%rdx)
	movq	%rsi, 8(%rdx)
LBB0_3:
	movl	%ecx, %edi
	movl	%eax, %esi
	popq	%rbp
	jmp	_DIV_ROUND_UP                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hdr_type_len,8,3               ## @hdr_type_len
	.comm	_ETH1394_HDR_LF_UF,8,3          ## @ETH1394_HDR_LF_UF
	.comm	_ETH1394_HDR_LF_FF,8,3          ## @ETH1394_HDR_LF_FF
	.no_dead_strip	_ether1394_encapsulate_prep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ether1394_encapsulate_prep
_ether1394_encapsulate_prep:            ; @ether1394_encapsulate_prep
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _hdr_type_len@GOTPAGE
Lloh1:
	ldr	x9, [x9, _hdr_type_len@GOTPAGEOFF]
Lloh2:
	adrp	x8, _ETH1394_HDR_LF_UF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH1394_HDR_LF_UF@GOTPAGEOFF]
	ldr	x11, [x9]
Lloh4:
	ldr	x10, [x8]
	ldr	w8, [x11, x10, lsl #2]
	sub	w8, w0, w8
	cmp	w8, w3
	b.hs	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _ETH1394_HDR_LF_FF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH1394_HDR_LF_FF@GOTPAGEOFF]
	ldr	x10, [x8]
	str	x10, [x2]
	str	x1, [x2, #16]
	sub	w10, w3, #1
	stp	w10, w4, [x2, #8]
	ldr	x9, [x9]
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	sub	w8, w0, w8
	b	LBB0_3
LBB0_2:
	stp	x10, x1, [x2]
LBB0_3:
	mov	x0, x3
	mov	x1, x8
	b	_DIV_ROUND_UP
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_hdr_type_len,8,3               ; @hdr_type_len
	.comm	_ETH1394_HDR_LF_UF,8,3          ; @ETH1394_HDR_LF_UF
	.comm	_ETH1394_HDR_LF_FF,8,3          ; @ETH1394_HDR_LF_FF
	.no_dead_strip	_ether1394_encapsulate_prep
.subsections_via_symbols
