	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_fmterror                  ## -- Begin function sock_fmterror
	.p2align	4, 0x90
_sock_fmterror:                         ## @sock_fmterror
	.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
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_strerror
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:
	cmpb	$0, (%r12)
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rcx
	movq	%rax, %r8
	movl	%r15d, %r9d
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pcap_snprintf                  ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pcap_snprintf                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s (code %d)"

L_.str.1:                               ## @.str.1
	.asciz	"%s (code %d)"

	.comm	_FORMAT_MESSAGE_FROM_SYSTEM,4,2 ## @FORMAT_MESSAGE_FROM_SYSTEM
	.comm	_FORMAT_MESSAGE_IGNORE_INSERTS,4,2 ## @FORMAT_MESSAGE_IGNORE_INSERTS
	.comm	_FORMAT_MESSAGE_MAX_WIDTH_MASK,4,2 ## @FORMAT_MESSAGE_MAX_WIDTH_MASK
	.comm	_LANG_NEUTRAL,4,2               ## @LANG_NEUTRAL
	.comm	_SOCK_ERRBUF_SIZE,4,2           ## @SOCK_ERRBUF_SIZE
	.comm	_SUBLANG_DEFAULT,4,2            ## @SUBLANG_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_fmterror                  ; -- Begin function sock_fmterror
	.p2align	2
_sock_fmterror:                         ; @sock_fmterror
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	cbz	x2, LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_strerror
	cbz	x22, LBB0_4
; %bb.2:
	ldrb	w8, [x22]
	cbz	w8, LBB0_4
; %bb.3:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	stp	x0, x21, [sp, #8]
	str	x22, [sp]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	stp	x0, x21, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_pcap_snprintf
LBB0_6:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s (code %d)"

l_.str.1:                               ; @.str.1
	.asciz	"%s (code %d)"

	.comm	_FORMAT_MESSAGE_FROM_SYSTEM,4,2 ; @FORMAT_MESSAGE_FROM_SYSTEM
	.comm	_FORMAT_MESSAGE_IGNORE_INSERTS,4,2 ; @FORMAT_MESSAGE_IGNORE_INSERTS
	.comm	_FORMAT_MESSAGE_MAX_WIDTH_MASK,4,2 ; @FORMAT_MESSAGE_MAX_WIDTH_MASK
	.comm	_LANG_NEUTRAL,4,2               ; @LANG_NEUTRAL
	.comm	_SOCK_ERRBUF_SIZE,4,2           ; @SOCK_ERRBUF_SIZE
	.comm	_SUBLANG_DEFAULT,4,2            ; @SUBLANG_DEFAULT
.subsections_via_symbols
