	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iucv_callback_rx
_iucv_callback_rx:                      ## @iucv_callback_rx
	.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), %rbx
	movq	%rbx, %rdi
	callq	_iucv_sk
	movq	%rax, %r15
	movq	_RCV_SHUTDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.9:
	movq	_pr_iucv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	callq	_list_empty
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movq	%r15, %rdi
	addq	$8, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	leaq	8(%rbx), %rdi
	callq	_atomic_read
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_iucv_msg_length
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %eax
	addl	$4, %eax
	cmpl	4(%rbx), %eax
	jg	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_iucv_msg_length
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movq	_GFP_DMA@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_iucv_process_message
	jmp	LBB0_8
LBB0_6:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movq	_GFP_DMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r13, 8(%rax)
	movl	(%r14), %ecx
	movl	%ecx, 4(%rax)
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
LBB0_8:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCV_SHUTDOWN,4,2               ## @RCV_SHUTDOWN
	.comm	_pr_iucv,8,3                    ## @pr_iucv
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.no_dead_strip	_iucv_callback_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iucv_callback_rx
_iucv_callback_rx:                      ; @iucv_callback_rx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x0]
	mov	x0, x22
	bl	_iucv_sk
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _RCV_SHUTDOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RCV_SHUTDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _pr_iucv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pr_iucv@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x2, [x8]
	mov	x0, x21
	mov	x1, x19
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	br	x2
LBB0_2:
	mov	x20, x0
	bl	_spin_lock
	add	x23, x20, #4
	mov	x0, x23
	bl	_list_empty
Lloh6:
	adrp	x25, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x25, [x25, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	adrp	x26, _GFP_DMA@GOTPAGE
Lloh9:
	ldr	x26, [x26, _GFP_DMA@GOTPAGEOFF]
	cbz	w0, LBB0_7
; %bb.3:
	add	x0, x20, #8
	bl	_skb_queue_empty
	cbz	w0, LBB0_7
; %bb.4:
	add	x0, x22, #8
	bl	_atomic_read
	mov	x24, x0
	mov	x0, x19
	bl	_iucv_msg_length
	add	w8, w24, w0
	add	w8, w8, #4
	ldr	w9, [x22, #4]
	cmp	w8, w9
	b.gt	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_iucv_msg_length
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w1, w9, w8
	bl	_alloc_skb
	cbz	x0, LBB0_7
; %bb.6:
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	mov	x3, x19
	bl	_iucv_process_message
	b	LBB0_9
LBB0_7:
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w1, w9, w8
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.8:
	str	x21, [x0, #8]
	ldr	w8, [x19]
	str	w8, [x0, #4]
	mov	x1, x23
	bl	_list_add_tail
LBB0_9:
	mov	x0, x20
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RCV_SHUTDOWN,4,2               ; @RCV_SHUTDOWN
	.comm	_pr_iucv,8,3                    ; @pr_iucv
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.no_dead_strip	_iucv_callback_rx
.subsections_via_symbols
