	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c4iw_reject_cr                 ## -- Begin function c4iw_reject_cr
	.p2align	4, 0x90
_c4iw_reject_cr:                        ## @c4iw_reject_cr
	.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
	movl	%edx, %r15d
	movq	%rsi, %r12
	callq	_to_ep
	movq	%rax, %rbx
	movl	16(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_pr_debug
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rax
	movq	_MPA_REQ_RCVD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_ULP_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$12, %rsi
	callq	_set_bit
	movq	_mpa_rev@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_send_mpa_reject
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_c4iw_put_ep
	movq	_ECONNRESET@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_3:
	movl	$1, %r15d
LBB0_5:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	callq	_stop_ep_timer
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_c4iw_ep_disconnect
	movq	%rbx, %rdi
	callq	_c4iw_put_ep
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	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	_MPA_REQ_RCVD,8,3               ## @MPA_REQ_RCVD
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_ULP_REJECT,4,2                 ## @ULP_REJECT
	.comm	_mpa_rev,8,3                    ## @mpa_rev
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c4iw_reject_cr                 ; -- Begin function c4iw_reject_cr
	.p2align	2
_c4iw_reject_cr:                        ; @c4iw_reject_cr
	.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	x21, x2
	mov	x22, x1
	bl	_to_ep
	mov	x19, x0
	ldr	w2, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	add	x20, x19, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _MPA_REQ_RCVD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MPA_REQ_RCVD@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _ULP_REJECT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ULP_REJECT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_set_bit
Lloh8:
	adrp	x8, _mpa_rev@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mpa_rev@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_send_mpa_reject
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	bl	_c4iw_put_ep
Lloh11:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	mov	w21, #1
LBB0_5:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	bl	_stop_ep_timer
Lloh14:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_c4iw_ep_disconnect
	mov	x0, x19
	bl	_c4iw_put_ep
	mov	w0, #0
LBB0_6:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u\n"

	.comm	_MPA_REQ_RCVD,8,3               ; @MPA_REQ_RCVD
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_ULP_REJECT,4,2                 ; @ULP_REJECT
	.comm	_mpa_rev,8,3                    ; @mpa_rev
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
