	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_client_got_response
_http_client_got_response:              ## @http_client_got_response
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %rdx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_http_client_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_eloop_cancel_timeout
	cmpl	$128, %ebx
	je	LBB0_9
## %bb.1:
	cmpl	$130, %ebx
	je	LBB0_10
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_11
## %bb.3:
	movl	24(%r15), %edi
	callq	_httpread_hdr_type_get
	movq	_HTTPREAD_HDR_TYPE_REPLY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.4:
	movl	24(%r15), %edi
	callq	_httpread_reply_code_get
	movl	%eax, %ebx
	movl	(%r14), %r14d
	movl	20(%r15), %edi
	callq	_inet_ntoa
	movl	%eax, %r12d
	cmpl	$200, %ebx
	jne	LBB0_6
## %bb.5:
	movl	16(%r15), %edi
	callq	_ntohs
	movslq	%eax, %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r15), %rax
	movl	(%r15), %edi
	movq	_HTTP_CLIENT_OK@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_9:
	movq	8(%r15), %rax
	movl	(%r15), %edi
	movq	_HTTP_CLIENT_TIMEOUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_10:
	movq	8(%r15), %rax
	movl	(%r15), %edi
	movq	_HTTP_CLIENT_FAILED@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movslq	%r12d, %r12
	movl	16(%r15), %edi
	callq	_ntohs
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movq	%r12, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_7:
	movq	8(%r15), %rax
	movl	(%r15), %edi
	movq	_HTTP_CLIENT_INVALID_REPLY@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %edx
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HTTP: httpread callback: handle=%p cookie=%p e=%d"

	.comm	_http_client_timeout,4,2        ## @http_client_timeout
	.comm	_HTTPREAD_HDR_TYPE_REPLY,4,2    ## @HTTPREAD_HDR_TYPE_REPLY
L_.str.1:                               ## @.str.1
	.asciz	"HTTP: Response OK from %s:%d"

	.comm	_HTTP_CLIENT_OK,4,2             ## @HTTP_CLIENT_OK
L_.str.2:                               ## @.str.2
	.asciz	"HTTP: Error %d from %s:%d"

	.comm	_HTTP_CLIENT_INVALID_REPLY,4,2  ## @HTTP_CLIENT_INVALID_REPLY
	.comm	_HTTP_CLIENT_TIMEOUT,4,2        ## @HTTP_CLIENT_TIMEOUT
	.comm	_HTTP_CLIENT_FAILED,4,2         ## @HTTP_CLIENT_FAILED
	.no_dead_strip	_http_client_got_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_client_got_response
_http_client_got_response:              ; @http_client_got_response
	.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	x19, x1
	mov	x2, x0
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x19
	bl	_wpa_printf
Lloh4:
	adrp	x8, _http_client_timeout@GOTPAGE
Lloh5:
	ldr	x8, [x8, _http_client_timeout@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, #0
	bl	_eloop_cancel_timeout
	cmp	w20, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w20, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	w20, #129
	b.ne	LBB0_8
; %bb.3:
	ldr	w0, [x19, #24]
	bl	_httpread_hdr_type_get
Lloh7:
	adrp	x8, _HTTPREAD_HDR_TYPE_REPLY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HTTPREAD_HDR_TYPE_REPLY@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.4:
	ldr	w0, [x19, #24]
	bl	_httpread_reply_code_get
	mov	x21, x0
	ldr	w20, [x22]
	ldr	w0, [x19, #20]
	bl	_inet_ntoa
	mov	x22, x0
	cmp	w21, #200
	b.ne	LBB0_9
; %bb.5:
	ldr	w0, [x19, #16]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_wpa_printf
	ldr	x3, [x19, #8]
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _HTTP_CLIENT_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HTTP_CLIENT_OK@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	ldr	x3, [x19, #8]
	ldr	w0, [x19]
Lloh14:
	adrp	x8, _HTTP_CLIENT_TIMEOUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HTTP_CLIENT_TIMEOUT@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
	ldr	x3, [x19, #8]
	ldr	w0, [x19]
Lloh16:
	adrp	x8, _HTTP_CLIENT_FAILED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HTTP_CLIENT_FAILED@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
	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
LBB0_9:
	sxtw	x22, w22
	ldr	w0, [x19, #16]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_wpa_printf
LBB0_10:
	ldr	x3, [x19, #8]
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _HTTP_CLIENT_INVALID_REPLY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HTTP_CLIENT_INVALID_REPLY@GOTPAGEOFF]
LBB0_11:
	ldr	w2, [x8]
	mov	x1, x19
	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
	br	x3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP: httpread callback: handle=%p cookie=%p e=%d"

	.comm	_http_client_timeout,4,2        ; @http_client_timeout
	.comm	_HTTPREAD_HDR_TYPE_REPLY,4,2    ; @HTTPREAD_HDR_TYPE_REPLY
l_.str.1:                               ; @.str.1
	.asciz	"HTTP: Response OK from %s:%d"

	.comm	_HTTP_CLIENT_OK,4,2             ; @HTTP_CLIENT_OK
l_.str.2:                               ; @.str.2
	.asciz	"HTTP: Error %d from %s:%d"

	.comm	_HTTP_CLIENT_INVALID_REPLY,4,2  ; @HTTP_CLIENT_INVALID_REPLY
	.comm	_HTTP_CLIENT_TIMEOUT,4,2        ; @HTTP_CLIENT_TIMEOUT
	.comm	_HTTP_CLIENT_FAILED,4,2         ; @HTTP_CLIENT_FAILED
	.no_dead_strip	_http_client_got_response
.subsections_via_symbols
