	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radius_add_attribute
_radius_add_attribute:                  ## @radius_add_attribute
	.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
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movslq	%ecx, %rsi
	addq	%r14, %rsi
	movq	_RADIUS_BUFFER_SIZE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jle	LBB0_1
## %bb.2:
	movq	_WARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_elog                           ## TAILCALL
LBB0_1:
	movl	%eax, 8(%rbx,%r14)
	leal	2(%rcx), %eax
	movl	%eax, (%rbx,%r14)
	movl	4(%rbx,%r14), %edi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_memcpy
	movslq	(%rbx,%r14), %rax
	addq	%rax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIUS_BUFFER_SIZE,8,3         ## @RADIUS_BUFFER_SIZE
	.comm	_WARNING,4,2                    ## @WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adding attribute code %d with length %d to radius packet would create oversize packet, ignoring"

	.no_dead_strip	_radius_add_attribute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radius_add_attribute
_radius_add_attribute:                  ; @radius_add_attribute
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	ldr	x9, [x0]
	add	x10, x9, w3, sxtw
Lloh0:
	adrp	x11, _RADIUS_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _RADIUS_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _WARNING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_elog
LBB0_2:
	mov	x19, x0
	add	x20, x0, x9
	str	w8, [x20, #8]
	add	w8, w3, #2
	str	w8, [x20]
	ldr	w0, [x20, #4]
	mov	x1, x2
	mov	x2, x3
	bl	_memcpy
	ldrsw	x8, [x20]
	ldr	x9, [x19]
	add	x8, x9, x8
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIUS_BUFFER_SIZE,8,3         ; @RADIUS_BUFFER_SIZE
	.comm	_WARNING,4,2                    ; @WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adding attribute code %d with length %d to radius packet would create oversize packet, ignoring"

	.no_dead_strip	_radius_add_attribute
.subsections_via_symbols
