	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netlink_attachskb              ## -- Begin function netlink_attachskb
	.p2align	4, 0x90
_netlink_attachskb:                     ## @netlink_attachskb
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_nlk_sk
	movq	%rax, %r12
	leaq	8(%rbx), %r13
	movq	%r13, %rdi
	callq	_atomic_read
	cmpq	(%rbx), %rax
	jg	LBB0_2
## %bb.1:
	leaq	4(%r12), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_14
LBB0_2:
	movq	_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_current@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_DECLARE_WAITQUEUE
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.7:
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_current_state
	movq	_wait@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_add_wait_queue
	movq	%r13, %rdi
	callq	_atomic_read
	cmpq	(%rbx), %rax
	jg	LBB0_9
## %bb.8:
	movq	%r12, %rsi
	addq	$4, %rsi
	xorl	%edi, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdi
	callq	_schedule_timeout
	movq	%rax, (%r14)
LBB0_11:
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_current_state
	movq	_wait@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_remove_wait_queue
	movq	%rbx, %rdi
	callq	_sock_put
	movl	(%r15), %edi
	callq	_signal_pending
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree_skb
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sock_intr_errno                ## TAILCALL
LBB0_3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_netlink_is_kernel
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_netlink_overrun
LBB0_6:
	movq	%rbx, %rdi
	callq	_sock_put
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree_skb
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_15
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_skb_set_owner_r
	jmp	LBB0_15
LBB0_12:
	movl	$1, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_current,4,2                    ## @current
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netlink_attachskb              ; -- Begin function netlink_attachskb
	.p2align	2
_netlink_attachskb:                     ; @netlink_attachskb
	.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	x24, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_nlk_sk
	mov	x22, x0
	add	x23, x20, #8
	mov	x0, x23
	bl	_atomic_read
	ldr	x8, [x20]
	cmp	x0, x8
	b.gt	LBB0_2
; %bb.1:
	add	x1, x22, #4
	mov	w0, #0
	bl	_test_bit
	cbz	x0, LBB0_13
LBB0_2:
Lloh0:
	adrp	x8, _wait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wait@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x25, _current@GOTPAGE
Lloh4:
	ldr	x25, [x25, _current@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_DECLARE_WAITQUEUE
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.3:
Lloh5:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	___set_current_state
Lloh8:
	adrp	x1, _wait@GOTPAGE
Lloh9:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	mov	x0, x22
	bl	_add_wait_queue
	mov	x0, x23
	bl	_atomic_read
	ldr	x8, [x20]
	cmp	x0, x8
	b.gt	LBB0_5
; %bb.4:
	add	x1, x22, #4
	mov	w0, #0
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_5:
Lloh10:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sock_flag
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x0, [x21]
	bl	_schedule_timeout
	str	x0, [x21]
LBB0_7:
Lloh13:
	adrp	x8, _TASK_RUNNING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TASK_RUNNING@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	___set_current_state
Lloh16:
	adrp	x1, _wait@GOTPAGE
Lloh17:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	mov	x0, x22
	bl	_remove_wait_queue
	mov	x0, x20
	bl	_sock_put
	ldr	w0, [x25]
	bl	_signal_pending
	cbz	x0, LBB0_14
; %bb.8:
	mov	x0, x19
	bl	_kfree_skb
	ldr	x0, [x21]
	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_intr_errno
LBB0_9:
	cbz	x24, LBB0_11
; %bb.10:
	mov	x0, x24
	bl	_netlink_is_kernel
	cbz	x0, LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_netlink_overrun
LBB0_12:
	mov	x0, x20
	bl	_sock_put
	mov	x0, x19
	bl	_kfree_skb
Lloh18:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	bl	_skb_set_owner_r
	mov	w0, #0
	b	LBB0_15
LBB0_14:
	mov	w0, #1
LBB0_15:
	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
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_current,4,2                    ; @current
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
.subsections_via_symbols
