	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iucv_process_message
_iucv_process_message:                  ## @iucv_process_message
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rcx, %rdi
	callq	_iucv_msg_length
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_CB_TRGCLS
	leaq	8(%rbx), %rsi
	movq	_CB_TRGCLS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_memcpy
	movq	_IUCV_IPRMDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%rbx), %edx
	je	LBB0_4
## %bb.1:
	cmpl	$8, %r12d
	jb	LBB0_4
## %bb.2:
	movl	4(%rbx), %edi
	movq	_iprm_shutdown@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.3:
	movq	$0, 8(%r13)
	movl	$0, (%r13)
	jmp	LBB0_10
LBB0_4:
	movq	_pr_iucv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r13), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_5
## %bb.12:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_5:
	movq	(%r14), %rax
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.6:
	movl	8(%r14), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	cmpl	%ecx, 4(%r13)
	jge	LBB0_7
LBB0_9:
	movq	%r13, %rdi
	callq	_skb_reset_transport_header
	movq	%r13, %rdi
	callq	_skb_reset_network_header
	movl	%r12d, (%r13)
LBB0_10:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_sock_queue_rcv_skb
	testq	%rax, %rax
	je	LBB0_11
## %bb.14:
	movq	%r14, %rdi
	callq	_iucv_sk
	movq	%rax, %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skb_queue_head                 ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_iucv_fragment_skb
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kfree_skb
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.13:
	movq	_pr_iucv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	movq	%r15, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_8:
	movq	%r14, %rdi
	callq	_iucv_sk
	movq	%rax, %rdi
	callq	_skb_dequeue
	movq	%rax, %r13
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_CB_TRGCLS_LEN,4,2              ## @CB_TRGCLS_LEN
	.comm	_IUCV_IPRMDATA,4,2              ## @IUCV_IPRMDATA
	.comm	_iprm_shutdown,4,2              ## @iprm_shutdown
	.comm	_pr_iucv,8,3                    ## @pr_iucv
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
	.no_dead_strip	_iucv_process_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iucv_process_message
_iucv_process_message:                  ; @iucv_process_message
	.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	x23, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x3
	bl	_iucv_msg_length
	mov	x22, x0
	mov	x0, x20
	bl	_CB_TRGCLS
	add	x1, x23, #8
Lloh0:
	adrp	x8, _CB_TRGCLS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CB_TRGCLS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w8, [x23]
Lloh3:
	adrp	x9, _IUCV_IPRMDATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IUCV_IPRMDATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w2, w9, w8
	cmp	w2, #0
	ccmp	w22, #8, #0, ne
	b.hs	LBB0_3
; %bb.1:
Lloh6:
	adrp	x24, _pr_iucv@GOTPAGE
Lloh7:
	ldr	x24, [x24, _pr_iucv@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x3, [x20, #8]
	mov	x0, x21
	mov	x1, x23
	mov	x4, x22
	mov	x5, #0
	blr	x8
	cbz	w0, LBB0_5
; %bb.2:
	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
	b	_kfree_skb
LBB0_3:
	ldr	w0, [x23, #4]
Lloh8:
	adrp	x8, _iprm_shutdown@GOTPAGE
Lloh9:
	ldr	x8, [x8, _iprm_shutdown@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_memcmp
	cbnz	x0, LBB0_8
; %bb.4:
	str	xzr, [x20, #8]
	str	wzr, [x20]
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _SOCK_STREAM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SOCK_STREAM@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	w8, [x20, #4]
	ldr	w9, [x19, #8]
	add	w10, w9, #3
	cmp	w9, #0
	csel	w9, w10, w9, lt
	cmp	w8, w9, asr #2
	b.ge	LBB0_11
LBB0_7:
	mov	x0, x20
	bl	_skb_reset_transport_header
	mov	x0, x20
	bl	_skb_reset_network_header
	str	w22, [x20]
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_sock_queue_rcv_skb
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_iucv_sk
	mov	x1, 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
	b	_skb_queue_head
LBB0_10:
	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
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_iucv_fragment_skb
	mov	x22, x0
	mov	x0, x20
	bl	_kfree_skb
	cbz	w22, LBB0_13
; %bb.12:
	ldr	x8, [x24]
	ldr	x2, [x8, #8]
	mov	x0, x21
	mov	x1, #0
	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
	br	x2
LBB0_13:
	mov	x0, x19
	bl	_iucv_sk
	bl	_skb_dequeue
	mov	x20, x0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_CB_TRGCLS_LEN,4,2              ; @CB_TRGCLS_LEN
	.comm	_IUCV_IPRMDATA,4,2              ; @IUCV_IPRMDATA
	.comm	_iprm_shutdown,4,2              ; @iprm_shutdown
	.comm	_pr_iucv,8,3                    ; @pr_iucv
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
	.no_dead_strip	_iucv_process_message
.subsections_via_symbols
