	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_wait_for_data
_x25_wait_for_data:                     ## @x25_wait_for_data
	.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, %rbx
	movq	%rdi, %r15
	movq	_wait@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DECLARE_WAITQUEUE
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_add_wait_queue_exclusive
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_current_state
	movq	_RCV_SHUTDOWN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	xorl	%r14d, %r14d
	testl	%eax, (%r15)
	jne	LBB0_1
## %bb.2:
	leaq	8(%r15), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_skb_queue_empty
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_release_sock
	movq	%rbx, %rdi
	callq	_schedule_timeout
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_lock_sock
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_current_state
	movl	(%r13), %eax
	testl	%eax, (%r15)
	je	LBB0_3
LBB0_10:
	xorl	%r14d, %r14d
	jmp	LBB0_1
LBB0_8:
	negl	%r14d
	jmp	LBB0_1
LBB0_9:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_1:
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_current_state
	movl	4(%r15), %edi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_remove_wait_queue
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_current,4,2                    ## @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_RCV_SHUTDOWN,4,2               ## @RCV_SHUTDOWN
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.no_dead_strip	_x25_wait_for_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_wait_for_data
_x25_wait_for_data:                     ; @x25_wait_for_data
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _wait@GOTPAGE
Lloh1:
	ldr	x21, [x21, _wait@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _current@GOTPAGE
Lloh3:
	ldr	x22, [x22, _current@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_DECLARE_WAITQUEUE
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_add_wait_queue_exclusive
Lloh4:
	adrp	x23, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	___set_current_state
	ldr	w8, [x19]
Lloh6:
	adrp	x24, _RCV_SHUTDOWN@GOTPAGE
Lloh7:
	ldr	x24, [x24, _RCV_SHUTDOWN@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
	mov	w20, #0
LBB0_2:
Lloh8:
	adrp	x8, _TASK_RUNNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TASK_RUNNING@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	___set_current_state
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x1, _wait@GOTPAGE
Lloh12:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	bl	_remove_wait_queue
	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
	ret
LBB0_3:
	add	x21, x19, #8
Lloh13:
	adrp	x25, _ERESTARTSYS@GOTPAGE
Lloh14:
	ldr	x25, [x25, _ERESTARTSYS@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w26, [x25]
	ldr	w0, [x22]
	bl	_signal_pending
	cbnz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x20, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_skb_queue_empty
	cbz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_release_sock
	mov	x0, x20
	bl	_schedule_timeout
	mov	x20, x0
	mov	x0, x19
	bl	_lock_sock
	ldr	w0, [x23]
	bl	___set_current_state
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
	b	LBB0_1
LBB0_8:
	neg	w20, w26
	b	LBB0_2
LBB0_9:
Lloh15:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_current,4,2                    ; @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_RCV_SHUTDOWN,4,2               ; @RCV_SHUTDOWN
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.no_dead_strip	_x25_wait_for_data
.subsections_via_symbols
