	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iucv_fragment_skb
_iucv_fragment_skb:                     ## @iucv_fragment_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	movl	%edx, %r12d
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	leal	3(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$2, %ebx
	cmpl	%ebx, %r12d
	cmovll	%r12d, %ebx
	movq	_GFP_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%ebx, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_CB_TRGCLS
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_CB_TRGCLS
	movq	_CB_TRGCLS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_memcpy
	movq	8(%r13), %rdi
	movslq	%r15d, %r15
	movq	8(%r14), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addl	%ebx, %r15d
	movq	%r13, %rdi
	callq	_skb_reset_transport_header
	movq	%r13, %rdi
	callq	_skb_reset_network_header
	movl	%ebx, (%r13)
	movq	%r14, %rdi
	callq	_iucv_sk
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	subl	%ebx, %r12d
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CB_TRGCLS_LEN,4,2              ## @CB_TRGCLS_LEN
	.no_dead_strip	_iucv_fragment_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iucv_fragment_skb
_iucv_fragment_skb:                     ; @iucv_fragment_skb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	w2, LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w25, #0
Lloh0:
	adrp	x26, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	adrp	x27, _GFP_DMA@GOTPAGE
Lloh3:
	ldr	x27, [x27, _GFP_DMA@GOTPAGEOFF]
Lloh4:
	adrp	x28, _CB_TRGCLS_LEN@GOTPAGE
Lloh5:
	ldr	x28, [x28, _CB_TRGCLS_LEN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	cmp	w19, w8
	csel	w22, w19, w8, lt
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w1, w9, w8
	mov	x0, x22
	bl	_alloc_skb
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	bl	_CB_TRGCLS
	mov	x24, x0
	mov	x0, x20
	bl	_CB_TRGCLS
	mov	x1, x0
	ldr	w2, [x28]
	mov	x0, x24
	bl	_memcpy
	ldr	x0, [x23, #8]
	ldr	x8, [x20, #8]
	add	x1, x8, w25, sxtw
	mov	x2, x22
	bl	_memcpy
	add	w25, w22, w25
	sub	w19, w19, w22
	mov	x0, x23
	bl	_skb_reset_transport_header
	mov	x0, x23
	bl	_skb_reset_network_header
	str	w22, [x23]
	mov	x0, x21
	bl	_iucv_sk
	mov	x1, x23
	bl	_skb_queue_tail
	cbnz	w19, LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CB_TRGCLS_LEN,4,2              ; @CB_TRGCLS_LEN
	.no_dead_strip	_iucv_fragment_skb
.subsections_via_symbols
