	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dccp_wait_for_ccid
_dccp_wait_for_ccid:                    ## @dccp_wait_for_ccid
	.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
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_dccp_sk
	movq	%rax, %r15
	movq	_wait@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_DEFINE_WAIT
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_dccp_pr_debug
	movl	%r13d, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r13
	movl	(%rbx), %edi
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_prepare_to_wait
	incl	16(%rbx)
	movq	%rbx, %rdi
	callq	_release_sock
	movq	%r13, %rdi
	callq	_schedule_timeout
	movq	%rbx, %rdi
	callq	_lock_sock
	decl	16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ccid_hc_tx_send_packet
	movl	%eax, %r13d
	testl	%eax, %eax
	jg	LBB0_1
	jmp	LBB0_4
LBB0_5:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_EINTR@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_4:
	movl	(%rbx), %edi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_finish_wait
	movl	%r13d, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"delayed send by %d msec\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_current,4,2                    ## @current
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_EINTR,4,2                      ## @EINTR
	.no_dead_strip	_dccp_wait_for_ccid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dccp_wait_for_ccid
_dccp_wait_for_ccid:                    ; @dccp_wait_for_ccid
	.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	x24, x2
	mov	x20, x1
	mov	x19, x0
	bl	_dccp_sk
	mov	x21, x0
Lloh0:
	adrp	x22, _wait@GOTPAGE
Lloh1:
	ldr	x22, [x22, _wait@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DEFINE_WAIT
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
Lloh4:
	adrp	x25, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh6:
	adrp	x26, _current@GOTPAGE
Lloh7:
	ldr	x26, [x26, _current@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_dccp_pr_debug
	mov	x0, x24
	bl	_msecs_to_jiffies
	mov	x24, x0
	ldr	w0, [x19]
	ldr	w2, [x25]
	mov	x1, x22
	bl	_prepare_to_wait
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_release_sock
	mov	x0, x24
	bl	_schedule_timeout
	mov	x0, x19
	bl	_lock_sock
	ldr	w8, [x19, #16]
	sub	w8, w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x26]
	bl	_signal_pending
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x21]
	mov	x1, x19
	mov	x2, x20
	bl	_ccid_hc_tx_send_packet
	mov	x24, x0
	cmp	w0, #0
	b.gt	LBB0_1
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _EPIPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _EINTR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_7:
	ldr	w0, [x19]
Lloh12:
	adrp	x1, _wait@GOTPAGE
Lloh13:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	bl	_finish_wait
	mov	x0, x24
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"delayed send by %d msec\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_current,4,2                    ; @current
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_EINTR,4,2                      ; @EINTR
	.no_dead_strip	_dccp_wait_for_ccid
.subsections_via_symbols
