	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___udp4_lib_err                 ## -- Begin function __udp4_lib_err
	.p2align	4, 0x90
___udp4_lib_err:                        ## @__udp4_lib_err
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	movl	(%rbx), %eax
	shll	$2, %eax
	movslq	%eax, %r14
	callq	_icmp_hdr
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_icmp_hdr
	movslq	4(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rdi
	callq	_dev_net
	movq	%rax, %r13
	movl	4(%rbx), %ecx
	movl	8(%rbx), %esi
	movl	(%rbx,%r14), %edx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rbx,%r14), %r8d
	movq	(%r15), %rax
	movl	(%rax), %r9d
	movq	%r12, (%rsp)
	movq	%r13, %rdi
	callq	___udp4_lib_lookup
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_inet_sk
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	cmpl	$129, %esi
	je	LBB0_15
## %bb.2:
	xorl	%ecx, %ecx
	movq	_EHOSTUNREACH@GOTPCREL(%rip), %rdx
	cmpl	$131, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$130, %esi
	jne	LBB0_10
## %bb.4:
	movl	$1, %ecx
	movq	_EPROTO@GOTPCREL(%rip), %rdx
	jmp	LBB0_10
LBB0_16:
	movq	_ICMP_MIB_INERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ICMP_INC_STATS_BH              ## TAILCALL
LBB0_5:
	movq	_ICMP_FRAG_NEEDED@GOTPCREL(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	(%rsi), %edi
	jne	LBB0_8
## %bb.6:
	movl	4(%rax), %ecx
	movq	_IP_PMTUDISC_DONT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
## %bb.7:
	movl	$1, %ecx
	movq	_EMSGSIZE@GOTPCREL(%rip), %rdx
	jmp	LBB0_10
LBB0_8:
	movq	_NR_ICMP_UNREACH@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edi
	jg	LBB0_10
## %bb.9:
	movq	_icmp_err_convert@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	(%rdx,%rdi,8), %ecx
	leaq	(%rdx,%rdi,8), %rdx
	addq	$4, %rdx
LBB0_10:
	movl	(%rdx), %r13d
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.13:
	addq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	movl	(%rbx), %ecx
	addq	$8, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%rbx, %r9
	callq	_ip_icmp_error
LBB0_14:
	movl	%r13d, 8(%r12)
	movq	%r12, %rdi
	callq	*16(%r12)
LBB0_15:
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sock_put                       ## TAILCALL
LBB0_11:
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.12:
	movq	(%r12), %rax
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ICMP_MIB_INERRORS,4,2          ## @ICMP_MIB_INERRORS
	.comm	_EHOSTUNREACH,4,2               ## @EHOSTUNREACH
	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_ICMP_FRAG_NEEDED,4,2           ## @ICMP_FRAG_NEEDED
	.comm	_IP_PMTUDISC_DONT,4,2           ## @IP_PMTUDISC_DONT
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_NR_ICMP_UNREACH,4,2            ## @NR_ICMP_UNREACH
	.comm	_icmp_err_convert,8,3           ## @icmp_err_convert
	.comm	_TCP_ESTABLISHED,8,3            ## @TCP_ESTABLISHED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___udp4_lib_err                 ; -- Begin function __udp4_lib_err
	.p2align	2
___udp4_lib_err:                        ; @__udp4_lib_err
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x26, [x0, #8]
	ldr	w8, [x26]
	lsl	w8, w8, #2
	add	x21, x26, w8, sxtw
	bl	_icmp_hdr
	ldr	w25, [x0]
	mov	x0, x20
	bl	_icmp_hdr
	ldrsw	x24, [x0, #4]
	ldr	x0, [x20]
	bl	_dev_net
	mov	x23, x0
	ldp	w3, w1, [x26, #4]
	ldp	w2, w4, [x21]
	ldr	x8, [x20]
	ldr	w5, [x8]
	mov	x6, x22
	bl	___udp4_lib_lookup
	cbz	x0, LBB0_8
; %bb.1:
	mov	x22, x0
	bl	_inet_sk
	cmp	w25, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w25, #131
	b.eq	LBB0_11
; %bb.3:
Lloh0:
	adrp	x9, _EHOSTUNREACH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EHOSTUNREACH@GOTPAGEOFF]
	mov	w8, #1
Lloh2:
	adrp	x10, _EPROTO@GOTPAGE
Lloh3:
	ldr	x10, [x10, _EPROTO@GOTPAGEOFF]
	cmp	w25, #130
	csel	w8, wzr, w8, ne
	csel	x9, x9, x10, ne
LBB0_4:
	ldr	w23, [x9]
	ldr	w9, [x0]
	cbz	w9, LBB0_9
; %bb.5:
	ldr	w3, [x21], #8
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x4, x19
	mov	x5, x21
	bl	_ip_icmp_error
LBB0_6:
	str	w23, [x22, #8]
	ldr	x8, [x22, #16]
	mov	x0, x22
	blr	x8
LBB0_7:
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sock_put
LBB0_8:
Lloh4:
	adrp	x8, _ICMP_MIB_INERRORS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICMP_MIB_INERRORS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ICMP_INC_STATS_BH
LBB0_9:
	cbz	w8, LBB0_7
; %bb.10:
	ldr	x8, [x22]
Lloh7:
	adrp	x9, _TCP_ESTABLISHED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
	b	LBB0_7
LBB0_11:
Lloh10:
	adrp	x8, _ICMP_FRAG_NEEDED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ICMP_FRAG_NEEDED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_14
; %bb.12:
	ldr	w8, [x0, #4]
Lloh13:
	adrp	x9, _IP_PMTUDISC_DONT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IP_PMTUDISC_DONT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_7
; %bb.13:
	mov	w8, #1
Lloh16:
	adrp	x9, _EMSGSIZE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_14:
Lloh18:
	adrp	x8, _NR_ICMP_UNREACH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NR_ICMP_UNREACH@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w24, w8
	b.le	LBB0_16
; %bb.15:
	mov	w8, #0
Lloh21:
	adrp	x9, _EHOSTUNREACH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EHOSTUNREACH@GOTPAGEOFF]
	b	LBB0_4
LBB0_16:
Lloh23:
	adrp	x8, _icmp_err_convert@GOTPAGE
Lloh24:
	ldr	x8, [x8, _icmp_err_convert@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	add	x9, x8, x24, lsl #3
	ldr	w8, [x9], #4
	b	LBB0_4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ICMP_MIB_INERRORS,4,2          ; @ICMP_MIB_INERRORS
	.comm	_EHOSTUNREACH,4,2               ; @EHOSTUNREACH
	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_ICMP_FRAG_NEEDED,4,2           ; @ICMP_FRAG_NEEDED
	.comm	_IP_PMTUDISC_DONT,4,2           ; @IP_PMTUDISC_DONT
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_NR_ICMP_UNREACH,4,2            ; @NR_ICMP_UNREACH
	.comm	_icmp_err_convert,8,3           ; @icmp_err_convert
	.comm	_TCP_ESTABLISHED,8,3            ; @TCP_ESTABLISHED
.subsections_via_symbols
