	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_conn_rep_handler
_cm_conn_rep_handler:                   ## @cm_conn_rep_handler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	48(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	_IWCM_F_CONNECT_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	64(%rbx), %rsi
	callq	_clear_bit
	movq	(%rbx), %rax
	movq	_IW_CM_STATE_CONN_SENT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movq	56(%rbx), %r12
	movq	$0, 56(%rbx)
	movq	_IW_CM_STATE_IDLE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movl	28(%r14), %eax
	movl	%eax, 44(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 40(%rbx)
	movl	36(%rbx), %eax
	movl	%eax, 28(%r14)
	movl	32(%rbx), %eax
	movl	%eax, 24(%r14)
	movq	_IW_CM_STATE_ESTABLISHED@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_3:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	movq	24(%rbx), %rax
	movq	%r12, %rdi
	callq	*(%rax)
LBB0_5:
	leaq	16(%rbx), %rdi
	movq	%r14, %rsi
	callq	*16(%rbx)
	movl	%eax, %r15d
	cmpq	$0, 16(%r14)
	je	LBB0_7
## %bb.6:
	movl	8(%r14), %edi
	callq	_kfree
LBB0_7:
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_wake_up_all
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWCM_F_CONNECT_WAIT,4,2        ## @IWCM_F_CONNECT_WAIT
	.comm	_IW_CM_STATE_CONN_SENT,8,3      ## @IW_CM_STATE_CONN_SENT
	.comm	_IW_CM_STATE_ESTABLISHED,8,3    ## @IW_CM_STATE_ESTABLISHED
	.comm	_IW_CM_STATE_IDLE,8,3           ## @IW_CM_STATE_IDLE
	.no_dead_strip	_cm_conn_rep_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_conn_rep_handler
_cm_conn_rep_handler:                   ; @cm_conn_rep_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	add	x21, x0, #48
	mov	x0, x21
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _IWCM_F_CONNECT_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWCM_F_CONNECT_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #64
	bl	_clear_bit
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _IW_CM_STATE_CONN_SENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IW_CM_STATE_CONN_SENT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x22, [x19, #56]
	str	xzr, [x19, #56]
Lloh6:
	adrp	x8, _IW_CM_STATE_IDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IW_CM_STATE_IDLE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x22, #0
	ldr	d0, [x20, #24]
	str	d0, [x19, #40]
	ldr	d0, [x19, #32]
	str	d0, [x20, #24]
Lloh8:
	adrp	x8, _IW_CM_STATE_ESTABLISHED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IW_CM_STATE_ESTABLISHED@GOTPAGEOFF]
LBB0_3:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	cbz	x22, LBB0_5
; %bb.4:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	mov	x0, x22
	blr	x8
LBB0_5:
	mov	x0, x19
	ldr	x8, [x0, #16]!
	mov	x1, x20
	blr	x8
	mov	x21, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x20, #8]
	bl	_kfree
LBB0_7:
	add	x0, x19, #8
	bl	_wake_up_all
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IWCM_F_CONNECT_WAIT,4,2        ; @IWCM_F_CONNECT_WAIT
	.comm	_IW_CM_STATE_CONN_SENT,8,3      ; @IW_CM_STATE_CONN_SENT
	.comm	_IW_CM_STATE_ESTABLISHED,8,3    ; @IW_CM_STATE_ESTABLISHED
	.comm	_IW_CM_STATE_IDLE,8,3           ; @IW_CM_STATE_IDLE
	.no_dead_strip	_cm_conn_rep_handler
.subsections_via_symbols
