	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet_diag_lock_handler
_inet_diag_lock_handler:                ## @inet_diag_lock_handler
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_inet_diag_table@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%edi, %rbx
	cmpq	$0, (%rax,%rbx,8)
	jne	LBB0_2
## %bb.1:
	movl	%edi, %ecx
	movq	_PF_NETLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NETLINK_INET_DIAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_request_module
LBB0_2:
	movq	_inet_diag_table_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_inet_diag_table,8,3            ## @inet_diag_table
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net-pf-%d-proto-%d-type-%d"

	.comm	_PF_NETLINK,4,2                 ## @PF_NETLINK
	.comm	_NETLINK_INET_DIAG,4,2          ## @NETLINK_INET_DIAG
	.comm	_inet_diag_table_mutex,4,2      ## @inet_diag_table_mutex
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_inet_diag_lock_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet_diag_lock_handler
_inet_diag_lock_handler:                ; @inet_diag_lock_handler
	.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
	mov	x3, x0
Lloh0:
	adrp	x19, _inet_diag_table@GOTPAGE
Lloh1:
	ldr	x19, [x19, _inet_diag_table@GOTPAGEOFF]
	ldr	x8, [x19]
	sxtw	x20, w3
	ldr	x8, [x8, w0, sxtw #3]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _PF_NETLINK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PF_NETLINK@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _NETLINK_INET_DIAG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NETLINK_INET_DIAG@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_request_module
LBB0_2:
Lloh10:
	adrp	x0, _inet_diag_table_mutex@GOTPAGE
Lloh11:
	ldr	x0, [x0, _inet_diag_table_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	ldr	x8, [x19]
	ldr	x0, [x8, x20, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh12:
	adrp	x8, _ENOENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_inet_diag_table,8,3            ; @inet_diag_table
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net-pf-%d-proto-%d-type-%d"

	.comm	_PF_NETLINK,4,2                 ; @PF_NETLINK
	.comm	_NETLINK_INET_DIAG,4,2          ; @NETLINK_INET_DIAG
	.comm	_inet_diag_table_mutex,4,2      ; @inet_diag_table_mutex
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_inet_diag_lock_handler
.subsections_via_symbols
