	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_socket_error               ## -- Begin function map_socket_error
	.p2align	4, 0x90
_map_socket_error:                      ## @map_socket_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	leal	-128(%rsi), %eax
	cmpl	$21, %eax
	ja	LBB0_17
## %bb.1:
	leaq	LJTI0_0(%rip), %rbx
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_ISC_R_CONNECTIONRESET@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	movq	_ISC_R_HOSTUNREACH@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_ISC_R_CONNECTIONRESET@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_5:
	movq	_ISC_R_NETUNREACH@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_ISC_R_NOTCONNECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	movq	_ISC_R_NORESOURCES@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_8:
	movq	_ISC_R_HOSTDOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_ISC_R_BADADDRESSFORM@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_10:
	movq	_ISC_R_CONNREFUSED@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_13:
	movq	_ISC_R_FAMILYNOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_14:
	movq	_ISC_R_ADDRNOTAVAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	movq	_ISC_R_NOPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_16:
	movq	_ISC_R_NETDOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_ISC_R_IOERROR@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	jmp	LBB0_19
LBB0_23:
	movq	_ISC_R_NETDOWN@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	cmpl	$0, (%rdi)
	jne	LBB0_19
## %bb.12:
	movq	_DOIO_SOFT@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_19:
	movq	_DOIO_HARD@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %ebx
	movq	_DOIO_HARD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_22
## %bb.21:
	movl	%esi, %edi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	callq	_isc__strerror
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_23
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_16
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ISC_R_CONNREFUSED,4,2          ## @ISC_R_CONNREFUSED
	.comm	_DOIO_HARD,4,2                  ## @DOIO_HARD
	.comm	_DOIO_SOFT,4,2                  ## @DOIO_SOFT
	.comm	_ISC_R_NETUNREACH,4,2           ## @ISC_R_NETUNREACH
	.comm	_ISC_R_HOSTUNREACH,4,2          ## @ISC_R_HOSTUNREACH
	.comm	_ISC_R_NETDOWN,4,2              ## @ISC_R_NETDOWN
	.comm	_ISC_R_HOSTDOWN,4,2             ## @ISC_R_HOSTDOWN
	.comm	_ISC_R_NOPERM,4,2               ## @ISC_R_NOPERM
	.comm	_ISC_R_CONNECTIONRESET,4,2      ## @ISC_R_CONNECTIONRESET
	.comm	_ISC_R_NOTCONNECTED,4,2         ## @ISC_R_NOTCONNECTED
	.comm	_ISC_R_NORESOURCES,4,2          ## @ISC_R_NORESOURCES
	.comm	_ISC_R_FAMILYNOSUPPORT,4,2      ## @ISC_R_FAMILYNOSUPPORT
	.comm	_ISC_R_ADDRNOTAVAIL,4,2         ## @ISC_R_ADDRNOTAVAIL
	.comm	_ISC_R_BADADDRESSFORM,4,2       ## @ISC_R_BADADDRESSFORM
	.comm	_ISC_R_IOERROR,4,2              ## @ISC_R_IOERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_socket_error               ; -- Begin function map_socket_error
	.p2align	2
_map_socket_error:                      ; @map_socket_error
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w9, w1, #128
Lloh0:
	adrp	x8, _DOIO_HARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DOIO_HARD@GOTPAGEOFF]
	cmp	w9, #21
	b.hi	LBB0_6
; %bb.1:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x9, _ISC_R_CONNECTIONRESET@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ISC_R_CONNECTIONRESET@GOTPAGEOFF]
	b	LBB0_16
LBB0_3:
Lloh6:
	adrp	x9, _ISC_R_HOSTUNREACH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISC_R_HOSTUNREACH@GOTPAGEOFF]
	b	LBB0_16
LBB0_4:
Lloh8:
	adrp	x9, _ISC_R_CONNECTIONRESET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISC_R_CONNECTIONRESET@GOTPAGEOFF]
	b	LBB0_18
LBB0_5:
Lloh10:
	adrp	x9, _ISC_R_NETUNREACH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ISC_R_NETUNREACH@GOTPAGEOFF]
	b	LBB0_16
LBB0_6:
Lloh12:
	adrp	x9, _ISC_R_IOERROR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISC_R_IOERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_7:
Lloh14:
	adrp	x9, _ISC_R_NOTCONNECTED@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ISC_R_NOTCONNECTED@GOTPAGEOFF]
	b	LBB0_16
LBB0_8:
Lloh16:
	adrp	x9, _ISC_R_NORESOURCES@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ISC_R_NORESOURCES@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
Lloh18:
	adrp	x9, _ISC_R_NETDOWN@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ISC_R_NETDOWN@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh20:
	adrp	x9, _ISC_R_HOSTDOWN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ISC_R_HOSTDOWN@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
Lloh22:
	adrp	x9, _ISC_R_BADADDRESSFORM@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ISC_R_BADADDRESSFORM@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
Lloh24:
	adrp	x9, _ISC_R_CONNREFUSED@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ISC_R_CONNREFUSED@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh26:
	adrp	x9, _ISC_R_FAMILYNOSUPPORT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ISC_R_FAMILYNOSUPPORT@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
Lloh28:
	adrp	x9, _ISC_R_ADDRNOTAVAIL@GOTPAGE
Lloh29:
	ldr	x9, [x9, _ISC_R_ADDRNOTAVAIL@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
Lloh30:
	adrp	x9, _ISC_R_NOPERM@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ISC_R_NOPERM@GOTPAGEOFF]
LBB0_16:
	ldr	w9, [x9]
	str	w9, [x2]
	ldr	w9, [x0]
Lloh32:
	adrp	x10, _DOIO_SOFT@GOTPAGE
Lloh33:
	ldr	x10, [x10, _DOIO_SOFT@GOTPAGEOFF]
	cmp	w9, #0
	csel	x9, x10, x8, eq
	b	LBB0_19
LBB0_17:
Lloh34:
	adrp	x9, _ISC_R_NETDOWN@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ISC_R_NETDOWN@GOTPAGEOFF]
LBB0_18:
	ldr	w9, [x9]
	str	w9, [x2]
Lloh36:
	adrp	x9, _DOIO_HARD@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DOIO_HARD@GOTPAGEOFF]
LBB0_19:
	ldr	w19, [x9]
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x1
	mov	x1, x3
	mov	x2, x4
	bl	_isc__strerror
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_ISC_R_CONNREFUSED,4,2          ; @ISC_R_CONNREFUSED
	.comm	_DOIO_HARD,4,2                  ; @DOIO_HARD
	.comm	_DOIO_SOFT,4,2                  ; @DOIO_SOFT
	.comm	_ISC_R_NETUNREACH,4,2           ; @ISC_R_NETUNREACH
	.comm	_ISC_R_HOSTUNREACH,4,2          ; @ISC_R_HOSTUNREACH
	.comm	_ISC_R_NETDOWN,4,2              ; @ISC_R_NETDOWN
	.comm	_ISC_R_HOSTDOWN,4,2             ; @ISC_R_HOSTDOWN
	.comm	_ISC_R_NOPERM,4,2               ; @ISC_R_NOPERM
	.comm	_ISC_R_CONNECTIONRESET,4,2      ; @ISC_R_CONNECTIONRESET
	.comm	_ISC_R_NOTCONNECTED,4,2         ; @ISC_R_NOTCONNECTED
	.comm	_ISC_R_NORESOURCES,4,2          ; @ISC_R_NORESOURCES
	.comm	_ISC_R_FAMILYNOSUPPORT,4,2      ; @ISC_R_FAMILYNOSUPPORT
	.comm	_ISC_R_ADDRNOTAVAIL,4,2         ; @ISC_R_ADDRNOTAVAIL
	.comm	_ISC_R_BADADDRESSFORM,4,2       ; @ISC_R_BADADDRESSFORM
	.comm	_ISC_R_IOERROR,4,2              ; @ISC_R_IOERROR
.subsections_via_symbols
