	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_xfer_transfer_http_callback ## -- Begin function auth_xfer_transfer_http_callback
	.p2align	4, 0x90
_auth_xfer_transfer_http_callback:      ## @auth_xfer_transfer_http_callback
	.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	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rsi), %rdi
	callq	_log_assert
	movq	%rbx, %rdi
	callq	_lock_basic_lock
	movq	8(%rbx), %rax
	movq	24(%rax), %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	jmp	LBB0_16
LBB0_2:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	8(%rbx), %rax
	movl	16(%rax), %edi
	callq	_comm_timer_disable
	movq	_NETEVENT_NOERROR@GOTPCREL(%rip), %rax
	movq	_NETEVENT_DONE@GOTPCREL(%rip), %rcx
	cmpl	%r13d, (%rax)
	je	LBB0_8
## %bb.3:
	cmpl	%r13d, (%rcx)
	je	LBB0_8
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_8:
	movl	4(%r12), %edi
	callq	_sldns_buffer_limit
	testq	%rax, %rax
	jle	LBB0_11
## %bb.9:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %edi
	callq	_sldns_buffer_limit
	leaq	L_.str.2(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_verbose
	movl	4(%r12), %edi
	movq	%rbx, %rsi
	callq	_xfer_link_data
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:
	movq	_NETEVENT_DONE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jne	LBB0_15
## %bb.12:
	testq	%r15, %r15
	je	LBB0_14
## %bb.13:
	movq	$0, (%r15)
LBB0_14:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_comm_point_delete
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_process_list_end_transfer
	jmp	LBB0_16
LBB0_15:
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	movl	$1, (%r12)
	movl	4(%r12), %edi
	callq	_sldns_buffer_clear
	movq	_AUTH_TRANSFER_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$-1, %esi
	callq	_comm_point_start_listening
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
LBB0_5:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	callq	_verbose
	movq	8(%rbx), %rdi
	callq	_auth_chunks_delete
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movq	$0, (%r15)
LBB0_7:
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	callq	_comm_point_delete
	movq	8(%rbx), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	callq	_xfr_transfer_nextmaster
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xfr_transfer_nexttarget_or_end
LBB0_16:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"auth zone transfer http callback"

	.comm	_NETEVENT_NOERROR,4,2           ## @NETEVENT_NOERROR
	.comm	_NETEVENT_DONE,4,2              ## @NETEVENT_DONE
L_.str.1:                               ## @.str.1
	.asciz	"http stopped, connection lost to %s"

L_.str.2:                               ## @.str.2
	.asciz	"auth zone http queued up %d bytes"

L_.str.3:                               ## @.str.3
	.asciz	"http stopped to %s, malloc failed"

	.comm	_AUTH_TRANSFER_TIMEOUT,4,2      ## @AUTH_TRANSFER_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auth_xfer_transfer_http_callback ; -- Begin function auth_xfer_transfer_http_callback
	.p2align	2
_auth_xfer_transfer_http_callback:      ; @auth_xfer_transfer_http_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x0, [x1, #8]
	bl	_log_assert
	mov	x0, x19
	bl	_lock_basic_lock
	ldr	x8, [x19, #8]
	ldr	x20, [x8, #24]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_lock_basic_unlock
	b	LBB0_15
LBB0_2:
Lloh0:
	adrp	x25, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x25, [x25, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #16]
	bl	_comm_timer_disable
Lloh4:
	adrp	x8, _NETEVENT_NOERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETEVENT_NOERROR@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x26, _NETEVENT_DONE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _NETEVENT_DONE@GOTPAGEOFF]
	ldr	w9, [x26]
	cmp	w8, w23
	ccmp	w9, w23, #4, ne
	b.ne	LBB0_9
; %bb.3:
	ldr	w0, [x22, #4]
	bl	_sldns_buffer_limit
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	w24, [x25]
	ldr	w0, [x22, #4]
	bl	_sldns_buffer_limit
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	bl	_verbose
	ldr	w0, [x22, #4]
	mov	x1, x19
	bl	_xfer_link_data
	cbz	w0, LBB0_11
LBB0_5:
	ldr	w8, [x26]
	cmp	w8, w23
	b.ne	LBB0_10
; %bb.6:
	cbz	x21, LBB0_8
; %bb.7:
	str	xzr, [x21]
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_comm_point_delete
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_process_list_end_transfer
	b	LBB0_15
LBB0_9:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_10:
	mov	x0, x19
	bl	_lock_basic_unlock
	mov	w8, #1
	str	w8, [x22]
	ldr	w0, [x22, #4]
	bl	_sldns_buffer_clear
Lloh13:
	adrp	x8, _AUTH_TRANSFER_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AUTH_TRANSFER_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #-1
	bl	_comm_point_start_listening
	b	LBB0_15
LBB0_11:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_12:
	ldr	w0, [x25]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	str	x8, [sp]
	bl	_verbose
	ldr	x0, [x19, #8]
	bl	_auth_chunks_delete
	cbz	x21, LBB0_14
; %bb.13:
	str	xzr, [x21]
LBB0_14:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_comm_point_delete
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	mov	x0, x19
	bl	_xfr_transfer_nextmaster
	mov	x0, x19
	mov	x1, x20
	bl	_xfr_transfer_nexttarget_or_end
LBB0_15:
	mov	w0, #0
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"auth zone transfer http callback"

	.comm	_NETEVENT_NOERROR,4,2           ; @NETEVENT_NOERROR
	.comm	_NETEVENT_DONE,4,2              ; @NETEVENT_DONE
l_.str.1:                               ; @.str.1
	.asciz	"http stopped, connection lost to %s"

l_.str.2:                               ; @.str.2
	.asciz	"auth zone http queued up %d bytes"

l_.str.3:                               ; @.str.3
	.asciz	"http stopped to %s, malloc failed"

	.comm	_AUTH_TRANSFER_TIMEOUT,4,2      ; @AUTH_TRANSFER_TIMEOUT
.subsections_via_symbols
