	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_request_send              ## -- Begin function http_request_send
	.p2align	4, 0x90
_http_request_send:                     ## @http_request_send
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rsi, %rdi
	callq	_wpabuf_len
	movq	%rax, %r12
	movl	8(%rbx), %edi
	callq	_inet_ntoa
	movl	%eax, %r13d
	movl	4(%rbx), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%rbx), %r15d
	movq	%r14, %rdi
	callq	_wpabuf_head
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_wpabuf_len
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_send
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_wpabuf_len
	cmpq	%r15, %rax
	jbe	LBB0_4
## %bb.3:
	movl	(%r12), %r15d
	movq	%r14, %rdi
	callq	_wpabuf_len
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_4
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpabuf_free                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HTTP: Send %lu byte response to %s:%d"

L_.str.1:                               ## @.str.1
	.asciz	"HTTP: Send failed: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"HTTP: Sent only %d of %lu bytes"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_request_send              ; -- Begin function http_request_send
	.p2align	2
_http_request_send:                     ; @http_request_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w21, [x24]
	mov	x0, x1
	bl	_wpabuf_len
	mov	x22, x0
	ldr	w0, [x20, #8]
	bl	_inet_ntoa
	mov	x23, x0
	ldr	w0, [x20, #4]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_wpa_printf
	ldr	w20, [x20]
	mov	x0, x19
	bl	_wpabuf_head
	mov	x21, x0
	mov	x0, x19
	bl	_wpabuf_len
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_send
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_wpabuf_len
	cmp	x0, w20, uxtw
	b.ls	LBB0_5
; %bb.2:
	ldr	w21, [x24]
	mov	x0, x19
	bl	_wpabuf_len
	str	x0, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	b	LBB0_4
LBB0_3:
	ldr	w20, [x24]
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
LBB0_4:
	bl	_wpa_printf
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_wpabuf_free
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP: Send %lu byte response to %s:%d"

l_.str.1:                               ; @.str.1
	.asciz	"HTTP: Send failed: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"HTTP: Sent only %d of %lu bytes"

.subsections_via_symbols
