	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_siw_reject                     ## -- Begin function siw_reject
	.p2align	4, 0x90
_siw_reject:                            ## @siw_reject
	.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
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_siw_cep_set_inuse
	movq	%rbx, %rdi
	callq	_siw_cep_put
	movq	%rbx, %rdi
	callq	_siw_cancel_mpatimer
	movq	(%rbx), %rdx
	movq	_SIW_EPSTATE_RECVD_MPAREQ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_siw_dbg_cep
	movl	16(%rbx), %edi
	callq	___mpa_rr_revision
	movq	_MPA_REVISION_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.3:
	movq	_MPA_RR_FLAG_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_siw_send_mpareqrep
LBB0_4:
	movq	8(%rbx), %rdi
	callq	_siw_socket_disassoc
	movq	8(%rbx), %rdi
	callq	_sock_release
	movq	$0, 8(%rbx)
	movq	_SIW_EPSTATE_CLOSED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_siw_cep_set_free
	movq	%rbx, %rdi
	callq	_siw_cep_put
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_siw_dbg_cep
	movq	%rbx, %rdi
	callq	_siw_cep_set_free
	movq	%rbx, %rdi
	callq	_siw_cep_put
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIW_EPSTATE_RECVD_MPAREQ,8,3   ## @SIW_EPSTATE_RECVD_MPAREQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of state\n"

	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
L_.str.1:                               ## @.str.1
	.asciz	"cep->state %d, pd_len %d\n"

	.comm	_MPA_REVISION_1,8,3             ## @MPA_REVISION_1
	.comm	_MPA_RR_FLAG_REJECT,4,2         ## @MPA_RR_FLAG_REJECT
	.comm	_SIW_EPSTATE_CLOSED,8,3         ## @SIW_EPSTATE_CLOSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_siw_reject                     ; -- Begin function siw_reject
	.p2align	2
_siw_reject:                            ; @siw_reject
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	ldr	x19, [x0]
	mov	x0, x19
	bl	_siw_cep_set_inuse
	mov	x0, x19
	bl	_siw_cep_put
	mov	x0, x19
	bl	_siw_cancel_mpatimer
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _SIW_EPSTATE_RECVD_MPAREQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIW_EPSTATE_RECVD_MPAREQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	stp	x8, x20, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_siw_dbg_cep
	ldr	w0, [x19, #16]
	bl	___mpa_rr_revision
Lloh5:
	adrp	x8, _MPA_REVISION_1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MPA_REVISION_1@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _MPA_RR_FLAG_REJECT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MPA_RR_FLAG_REJECT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_siw_send_mpareqrep
LBB0_3:
	ldr	x0, [x19, #8]
	bl	_siw_socket_disassoc
	ldr	x0, [x19, #8]
	bl	_sock_release
Lloh11:
	adrp	x8, _SIW_EPSTATE_CLOSED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SIW_EPSTATE_CLOSED@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	stp	x8, xzr, [x19]
	mov	x0, x19
	bl	_siw_cep_set_free
	mov	x0, x19
	bl	_siw_cep_put
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_siw_dbg_cep
	mov	x0, x19
	bl	_siw_cep_set_free
	mov	x0, x19
	bl	_siw_cep_put
Lloh16:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SIW_EPSTATE_RECVD_MPAREQ,8,3   ; @SIW_EPSTATE_RECVD_MPAREQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of state\n"

	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
l_.str.1:                               ; @.str.1
	.asciz	"cep->state %d, pd_len %d\n"

	.comm	_MPA_REVISION_1,8,3             ; @MPA_REVISION_1
	.comm	_MPA_RR_FLAG_REJECT,4,2         ; @MPA_RR_FLAG_REJECT
	.comm	_SIW_EPSTATE_CLOSED,8,3         ; @SIW_EPSTATE_CLOSED
.subsections_via_symbols
