	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_httpd_addheaderuint        ## -- Begin function isc_httpd_addheaderuint
	.p2align	4, 0x90
_isc_httpd_addheaderuint:               ## @isc_httpd_addheaderuint
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %r15d
	addl	$4, %r15d
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_isc_buffer_availablelength
	movq	%rbx, %rdi
	cmpl	%r15d, %eax
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_grow_headerspace
	cmpq	(%r12), %rax
	je	LBB0_1
	jmp	LBB0_4
LBB0_3:
	callq	_isc_buffer_used
	movslq	%eax, %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_isc_buffer_add
	movq	(%r12), %rax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"%s: %s\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_httpd_addheaderuint        ; -- Begin function isc_httpd_addheaderuint
	.p2align	2
_isc_httpd_addheaderuint:               ; @isc_httpd_addheaderuint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	str	x2, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #19
	bl	_sprintf
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
	add	x0, sp, #19
	bl	_strlen
	add	w8, w21, w0
	add	w21, w8, #4
Lloh5:
	adrp	x22, _ISC_R_SUCCESS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ISC_R_SUCCESS@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_isc_buffer_availablelength
	cmp	w0, w21
	b.hs	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_grow_headerspace
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_isc_buffer_used
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	add	x8, sp, #19
	stp	x20, x8, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	mov	x0, x19
	mov	x1, x21
	bl	_isc_buffer_add
	ldr	x0, [x22]
LBB0_4:
	ldr	x8, [sp, #40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"%s: %s\r\n"

.subsections_via_symbols
