	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rad_send_response              ## -- Begin function rad_send_response
	.p2align	4, 0x90
_rad_send_response:                     ## @rad_send_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_RADIUS_SERVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	16(%rbx), %eax
	sarl	$8, %eax
	movq	8(%rbx), %rcx
	movq	_POS_LENGTH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	16(%rbx), %eax
	movl	%eax, 4(%rcx,%rdx,4)
	movq	24(%rbx), %rax
	movq	_POS_CODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_RAD_ACCESS_REQUEST@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	sete	%sil
	movq	%rbx, %rdi
	callq	_insert_message_authenticator
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_insert_request_authenticator
	movl	48(%rbx), %edi
	movq	8(%rbx), %rsi
	movl	16(%rbx), %edx
	movq	32(%rbx), %r8
	shlq	$2, %r8
	addq	40(%rbx), %r8
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	movl	$4, %r9d
	callq	_sendto
	cmpl	16(%rbx), %eax
	je	LBB0_8
## %bb.3:
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_generr
LBB0_7:
	movl	$-1, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_generr
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_SERVER,8,3              ## @RADIUS_SERVER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"denied function call"

	.comm	_POS_LENGTH,8,3                 ## @POS_LENGTH
	.comm	_POS_CODE,8,3                   ## @POS_CODE
	.comm	_RAD_ACCESS_REQUEST,8,3         ## @RAD_ACCESS_REQUEST
L_.str.1:                               ## @.str.1
	.asciz	"sendto: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"sendto: short write"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rad_send_response              ; -- Begin function rad_send_response
	.p2align	2
_rad_send_response:                     ; @rad_send_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RADIUS_SERVER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RADIUS_SERVER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x19, #16]
	asr	w8, w8, #8
	ldr	x9, [x19, #8]
Lloh3:
	adrp	x10, _POS_LENGTH@GOTPAGE
Lloh4:
	ldr	x10, [x10, _POS_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #2
	str	w8, [x9]
	ldr	x8, [x19, #24]
Lloh6:
	adrp	x10, _POS_CODE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _POS_CODE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	x8, [x8, x10, lsl #3]
	ldr	w10, [x19, #16]
	str	w10, [x9, #4]
Lloh9:
	adrp	x9, _RAD_ACCESS_REQUEST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RAD_ACCESS_REQUEST@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w1, eq
	mov	x0, x19
	bl	_insert_message_authenticator
	mov	x0, x19
	mov	w1, #1
	bl	_insert_request_authenticator
	ldr	w0, [x19, #48]
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #16]
	ldp	x9, x8, [x19, #32]
	add	x4, x8, x9, lsl #2
	mov	w3, #0
	mov	w5, #4
	bl	_sendto
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.2:
	cmn	w8, #1
	b.eq	LBB0_7
; %bb.3:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_generr
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_SERVER,8,3              ; @RADIUS_SERVER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"denied function call"

	.comm	_POS_LENGTH,8,3                 ; @POS_LENGTH
	.comm	_POS_CODE,8,3                   ; @POS_CODE
	.comm	_RAD_ACCESS_REQUEST,8,3         ; @RAD_ACCESS_REQUEST
l_.str.1:                               ; @.str.1
	.asciz	"sendto: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"sendto: short write"

.subsections_via_symbols
