	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl_open
_nl_open:                               ## @nl_open
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PF_NETLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NETLINK_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_socket
	movl	$-1, %r14d
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	%eax, %ebx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_AF_NETLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_3
## %bb.2:
	movl	%ebx, %r14d
	jmp	LBB0_4
LBB0_3:
	movl	%ebx, %edi
	callq	_nl_close
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_NETLINK,4,2                 ## @PF_NETLINK
	.comm	_SOCK_RAW,4,2                   ## @SOCK_RAW
	.comm	_NETLINK_ROUTE,4,2              ## @NETLINK_ROUTE
	.comm	_AF_NETLINK,4,2                 ## @AF_NETLINK
	.no_dead_strip	_nl_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl_open
_nl_open:                               ; @nl_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _PF_NETLINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_NETLINK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_RAW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_RAW@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _NETLINK_ROUTE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETLINK_ROUTE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_socket
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh9:
	adrp	x8, _AF_NETLINK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AF_NETLINK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #4
	bl	_bind
	tbz	x0, #63, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_nl_close
LBB0_3:
	mov	w19, #-1
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_NETLINK,4,2                 ; @PF_NETLINK
	.comm	_SOCK_RAW,4,2                   ; @SOCK_RAW
	.comm	_NETLINK_ROUTE,4,2              ; @NETLINK_ROUTE
	.comm	_AF_NETLINK,4,2                 ; @AF_NETLINK
	.no_dead_strip	_nl_open
.subsections_via_symbols
