	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdp_on_not_found              ## -- Begin function iwdp_on_not_found
	.p2align	4, 0x90
_iwdp_on_not_found:                     ## @iwdp_on_not_found
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testq	%rcx, %rcx
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdi
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-24(%rbp), %r8
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_iwdp_send_http
	movl	%eax, %ebx
	movq	-24(%rbp), %rdi
	callq	_free
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<html><title>Error 404 (Not Found)</title>\n<p><b>404.</b> <ins>That's an error.</ins>\n<p>The requested URL <code>%s</code> was not found.\n%s</html>"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"asprintf failed"

L_.str.3:                               ## @.str.3
	.asciz	"404 Not Found"

L_.str.4:                               ## @.str.4
	.asciz	".html"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwdp_on_not_found              ; -- Begin function iwdp_on_not_found
	.p2align	2
_iwdp_on_not_found:                     ; @iwdp_on_not_found
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x3, #0
	csel	x3, x8, x3, eq
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_asprintf
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	x4, [sp, #8]
Lloh4:
	adrp	x2, l_.str.3@PAGE
Lloh5:
	add	x2, x2, l_.str.3@PAGEOFF
Lloh6:
	adrp	x3, l_.str.4@PAGE
Lloh7:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_iwdp_send_http
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_free
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	blr	x8
	mov	x19, x0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<html><title>Error 404 (Not Found)</title>\n<p><b>404.</b> <ins>That's an error.</ins>\n<p>The requested URL <code>%s</code> was not found.\n%s</html>"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"asprintf failed"

l_.str.3:                               ; @.str.3
	.asciz	"404 Not Found"

l_.str.4:                               ; @.str.4
	.asciz	".html"

.subsections_via_symbols
