	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_write_more
_http_write_more:                       ## @http_write_more
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movl	(%rsi), %edi
	callq	_sldns_buffer_remaining
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_log_assert
	movl	(%r15), %edi
	callq	_sldns_buffer_current
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_sldns_buffer_remaining
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_send
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.4:
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_sldns_buffer_skip
	movl	$1, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EINTR@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpq	(%rcx), %rdi
	je	LBB0_5
## %bb.2:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	je	LBB0_5
## %bb.3:
	callq	_strerror
	movl	4(%r15), %ecx
	addq	$8, %r15
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_log_err_addr
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"http send r"

	.comm	_UB_EV_WRITE,4,2                ## @UB_EV_WRITE
	.comm	_WSAEINPROGRESS,8,3             ## @WSAEINPROGRESS
	.comm	_WSAEWOULDBLOCK,8,3             ## @WSAEWOULDBLOCK
	.no_dead_strip	_http_write_more
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_write_more
_http_write_more:                       ; @http_write_more
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1]
	bl	_sldns_buffer_remaining
	cmp	x0, #0
	cset	w0, gt
	bl	_log_assert
	ldr	w0, [x19]
	bl	_sldns_buffer_current
	mov	x21, x0
	ldr	w0, [x19]
	bl	_sldns_buffer_remaining
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_send
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x1, x0
	ldr	w0, [x19]
	bl	_sldns_buffer_skip
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
Lloh3:
	adrp	x8, _EINTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	bl	_strerror
	mov	x1, x0
	add	x2, x19, #8
	ldr	w3, [x19, #4]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err_addr
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http send r"

	.comm	_UB_EV_WRITE,4,2                ; @UB_EV_WRITE
	.comm	_WSAEINPROGRESS,8,3             ; @WSAEINPROGRESS
	.comm	_WSAEWOULDBLOCK,8,3             ; @WSAEWOULDBLOCK
	.no_dead_strip	_http_write_more
.subsections_via_symbols
