	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connect_request_upcall
_connect_request_upcall:                ## @connect_request_upcall
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	76(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pr_debug
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_IW_CM_EVENT_CONNECT_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	leaq	-36(%rbp), %rdi
	leaq	8(%rbx), %r14
	leaq	32(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	-40(%rbp), %rdi
	leaq	28(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, -48(%rbp)
	cmpl	$0, 72(%rbx)
	je	LBB0_1
## %bb.2:
	movl	24(%rbx), %edi
	callq	_cur_max_read_depth
	movq	%rax, -56(%rbp)
	movl	24(%rbx), %edi
	callq	_cur_max_read_depth
	movq	48(%rbx), %rcx
	movl	$4, %edx
	jmp	LBB0_3
LBB0_1:
	movq	64(%rbx), %rax
	movq	%rax, -56(%rbp)
	movq	48(%rbx), %rcx
	movq	56(%rbx), %rax
	addq	$-4, %rcx
	movl	$8, %edx
LBB0_3:
	addq	40(%rbx), %rdx
	movq	%rax, -64(%rbp)
	movq	%rcx, -72(%rbp)
	movq	%rdx, -80(%rbp)
	movq	%r14, %rdi
	callq	_c4iw_get_ep
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	leaq	-80(%rbp), %rsi
	callq	*(%rdi)
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_c4iw_put_ep
LBB0_5:
	movq	_CONNREQ_UPCALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	(%rbx), %rdi
	callq	_c4iw_put_ep
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p tid %u\n"

	.comm	_IW_CM_EVENT_CONNECT_REQUEST,4,2 ## @IW_CM_EVENT_CONNECT_REQUEST
	.comm	_CONNREQ_UPCALL,4,2             ## @CONNREQ_UPCALL
	.no_dead_strip	_connect_request_upcall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connect_request_upcall
_connect_request_upcall:                ; @connect_request_upcall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
	ldr	w2, [x0, #76]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	add	x21, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #56
	bl	_memset
Lloh2:
	adrp	x8, _IW_CM_EVENT_CONNECT_REQUEST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IW_CM_EVENT_CONNECT_REQUEST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	add	x0, x21, #44
	add	x20, x19, #8
	add	x1, x19, #32
	mov	w2, #4
	bl	_memcpy
	add	x0, x21, #40
	add	x1, x19, #28
	mov	w2, #4
	bl	_memcpy
	str	x19, [sp, #40]
	ldr	w8, [x19, #72]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_cur_max_read_depth
	str	x0, [sp, #32]
	ldr	w0, [x19, #24]
	bl	_cur_max_read_depth
	ldr	x8, [x19, #48]
	mov	w9, #4
	b	LBB0_3
LBB0_2:
	ldp	x0, x8, [x19, #56]
	str	x8, [sp, #32]
	ldr	x8, [x19, #48]
	sub	x8, x8, #4
	mov	w9, #8
LBB0_3:
	ldr	x10, [x19, #40]
	add	x9, x10, x9
	stp	x8, x0, [sp, #16]
	str	x9, [sp, #8]
	mov	x0, x20
	bl	_c4iw_get_ep
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	ldr	x8, [x0]
	add	x1, sp, #8
	blr	x8
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_c4iw_put_ep
LBB0_5:
Lloh5:
	adrp	x8, _CONNREQ_UPCALL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CONNREQ_UPCALL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	ldr	x0, [x19]
	bl	_c4iw_put_ep
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u\n"

	.comm	_IW_CM_EVENT_CONNECT_REQUEST,4,2 ; @IW_CM_EVENT_CONNECT_REQUEST
	.comm	_CONNREQ_UPCALL,4,2             ; @CONNREQ_UPCALL
	.no_dead_strip	_connect_request_upcall
.subsections_via_symbols
