	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_http_request
_setup_http_request:                    ## @setup_http_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_sldns_buffer_clear
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_sldns_buffer_printf
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_sldns_buffer_printf
	movq	_PACKAGE_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_sldns_buffer_printf
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_sldns_buffer_printf
	movq	%r13, %rdi
	callq	_sldns_buffer_position
	movq	%rax, %rbx
	addq	$10, %rbx
	movq	%r13, %rdi
	callq	_sldns_buffer_capacity
	cmpq	%rax, %rbx
	jg	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_sldns_buffer_flip
	movl	$1, %r14d
LBB0_2:
	movl	%r14d, %eax
	addq	$8, %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	"GET /%s HTTP/1.1\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"Host: %s\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"User-Agent: unbound/%s\r\n"

	.comm	_PACKAGE_VERSION,4,2            ## @PACKAGE_VERSION
L_.str.3:                               ## @.str.3
	.asciz	"\r\n"

	.no_dead_strip	_setup_http_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_http_request
_setup_http_request:                    ; @setup_http_request
	.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
	mov	x19, x0
	bl	_sldns_buffer_clear
	str	x20, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sldns_buffer_printf
	str	x21, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sldns_buffer_printf
Lloh4:
	adrp	x8, _PACKAGE_VERSION@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PACKAGE_VERSION@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_sldns_buffer_printf
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_sldns_buffer_printf
	mov	x0, x19
	bl	_sldns_buffer_position
	add	x20, x0, #10
	mov	x0, x19
	bl	_sldns_buffer_capacity
	cmp	x20, x0
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_sldns_buffer_flip
	mov	w0, #1
LBB0_3:
	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 AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GET /%s HTTP/1.1\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"Host: %s\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"User-Agent: unbound/%s\r\n"

	.comm	_PACKAGE_VERSION,4,2            ; @PACKAGE_VERSION
l_.str.3:                               ; @.str.3
	.asciz	"\r\n"

	.no_dead_strip	_setup_http_request
.subsections_via_symbols
