	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radius_server_reject
_radius_server_reject:                  ## @radius_server_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r15d
	movq	%rdx, %rdi
	callq	_radius_msg_get_hdr
	movq	%rax, %r13
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
	movq	_RADIUS_CODE_ACCESS_REJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r13), %esi
	callq	_radius_msg_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_os_memset
	movq	_EAP_CODE_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -72(%rbp)
	movl	$24, %edi
	callq	_host_to_be16
	movl	%eax, -80(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$24, %edx
	callq	_radius_msg_add_eap
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
LBB0_4:
	movq	_RADIUS_ATTR_PROXY_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_radius_msg_copy_attr
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movq	8(%r12), %rsi
	movl	4(%r12), %edx
	movl	(%r13), %ecx
	movq	%r15, %rdi
	callq	_radius_msg_finish_srv
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
LBB0_8:
	movq	_wpa_debug_level@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_radius_msg_dump
LBB0_10:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	incl	4(%rbx)
	incl	(%r12)
	movq	%r15, %rdi
	callq	_radius_msg_get_buf
	movq	%rax, %r13
	movl	(%rbx), %r14d
	movq	%rax, %rdi
	callq	_wpabuf_head
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_wpabuf_len
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	$4, %r9d
	callq	_sendto
	testq	%rax, %rax
	jns	LBB0_13
## %bb.11:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wpa_printf
	jmp	LBB0_12
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_14
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_RADIUS_DEBUG
LBB0_12:
	movl	$-1, %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_radius_msg_free
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reject invalid request from %s:%d"

	.comm	_RADIUS_CODE_ACCESS_REJECT,4,2  ## @RADIUS_CODE_ACCESS_REJECT
	.comm	_EAP_CODE_FAILURE,4,2           ## @EAP_CODE_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"Failed to add EAP-Message attribute"

	.comm	_RADIUS_ATTR_PROXY_STATE,4,2    ## @RADIUS_ATTR_PROXY_STATE
L_.str.2:                               ## @.str.2
	.asciz	"Failed to copy Proxy-State attribute(s)"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to add Message-Authenticator attribute"

	.comm	_wpa_debug_level,8,3            ## @wpa_debug_level
	.comm	_MSG_MSGDUMP,8,3                ## @MSG_MSGDUMP
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.4:                               ## @.str.4
	.asciz	"sendto[RADIUS SRV]: %s"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_radius_server_reject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radius_server_reject
_radius_server_reject:                  ; @radius_server_reject
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x6
	mov	x25, x5
	mov	x20, x3
	mov	x24, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x2
	bl	_radius_msg_get_hdr
	mov	x23, x0
	stp	x25, x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RADIUS_DEBUG
Lloh2:
	adrp	x8, _RADIUS_CODE_ACCESS_REJECT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RADIUS_CODE_ACCESS_REJECT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x23, #4]
	bl	_radius_msg_new
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_os_memset
Lloh5:
	adrp	x8, _EAP_CODE_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAP_CODE_FAILURE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	str	xzr, [sp, #32]
	mov	w0, #24
	bl	_host_to_be16
	str	w0, [sp, #24]
	add	x1, sp, #24
	mov	x0, x19
	mov	w2, #24
	bl	_radius_msg_add_eap
	cbnz	w0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RADIUS_DEBUG
LBB0_3:
Lloh10:
	adrp	x8, _RADIUS_ATTR_PROXY_STATE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RADIUS_ATTR_PROXY_STATE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x24
	bl	_radius_msg_copy_attr
	tbnz	x0, #63, LBB0_11
; %bb.4:
	ldr	x1, [x22, #8]
	ldr	w2, [x22, #4]
	ldr	w3, [x23]
	mov	x0, x19
	bl	_radius_msg_finish_srv
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_RADIUS_DEBUG
LBB0_6:
Lloh15:
	adrp	x8, _wpa_debug_level@GOTPAGE
Lloh16:
	ldr	x8, [x8, _wpa_debug_level@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _MSG_MSGDUMP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_radius_msg_dump
LBB0_8:
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	mov	x0, x19
	bl	_radius_msg_get_buf
	mov	x22, x0
	ldr	w21, [x21]
	bl	_wpabuf_head
	mov	x23, x0
	mov	x0, x22
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	mov	w3, #0
	mov	x4, x20
	mov	w5, #4
	bl	_sendto
	mov	w20, #0
	tbz	x0, #63, LBB0_13
; %bb.9:
Lloh21:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
Lloh24:
	adrp	x8, _errno@GOTPAGE
Lloh25:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
	b	LBB0_12
LBB0_10:
	mov	w20, #-1
	b	LBB0_14
LBB0_11:
Lloh29:
	adrp	x0, l_.str.2@PAGE
Lloh30:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_RADIUS_DEBUG
LBB0_12:
	mov	w20, #-1
LBB0_13:
	mov	x0, x19
	bl	_radius_msg_free
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reject invalid request from %s:%d"

	.comm	_RADIUS_CODE_ACCESS_REJECT,4,2  ; @RADIUS_CODE_ACCESS_REJECT
	.comm	_EAP_CODE_FAILURE,4,2           ; @EAP_CODE_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"Failed to add EAP-Message attribute"

	.comm	_RADIUS_ATTR_PROXY_STATE,4,2    ; @RADIUS_ATTR_PROXY_STATE
l_.str.2:                               ; @.str.2
	.asciz	"Failed to copy Proxy-State attribute(s)"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to add Message-Authenticator attribute"

	.comm	_wpa_debug_level,8,3            ; @wpa_debug_level
	.comm	_MSG_MSGDUMP,8,3                ; @MSG_MSGDUMP
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.4:                               ; @.str.4
	.asciz	"sendto[RADIUS SRV]: %s"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_radius_server_reject
.subsections_via_symbols
