	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsim_setup
_nsim_setup:                            ## @nsim_setup
	.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
	movq	%rdi, %rbx
	callq	_ether_setup
	movq	%rbx, %rdi
	callq	_eth_hw_addr_random
	movq	$0, 24(%rbx)
	movq	_IFF_NOARP@GOTPCREL(%rip), %rax
	movl	16(%rbx), %ecx
	orl	(%rax), %ecx
	movq	_IFF_MULTICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 16(%rbx)
	movq	_IFF_LIVE_ADDR_CHANGE@GOTPCREL(%rip), %rax
	movq	_IFF_NO_QUEUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rax
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_NETIF_F_FRAGLIST@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NETIF_F_HW_CSUM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, 4(%rbx)
	movq	_NETIF_F_HW_TC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
	movq	_ETH_MAX_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_IFF_LIVE_ADDR_CHANGE,4,2       ## @IFF_LIVE_ADDR_CHANGE
	.comm	_IFF_NO_QUEUE,4,2               ## @IFF_NO_QUEUE
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_FRAGLIST,4,2           ## @NETIF_F_FRAGLIST
	.comm	_NETIF_F_HW_CSUM,4,2            ## @NETIF_F_HW_CSUM
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_HW_TC,4,2              ## @NETIF_F_HW_TC
	.comm	_ETH_MAX_MTU,4,2                ## @ETH_MAX_MTU
	.no_dead_strip	_nsim_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsim_setup
_nsim_setup:                            ; @nsim_setup
	.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	x19, x0
	bl	_ether_setup
	mov	x0, x19
	bl	_eth_hw_addr_random
Lloh0:
	adrp	x8, _IFF_NOARP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_NOARP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #12]
	orr	w8, w9, w8
Lloh3:
	adrp	x9, _IFF_MULTICAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_MULTICAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x11, _IFF_LIVE_ADDR_CHANGE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IFF_LIVE_ADDR_CHANGE@GOTPAGEOFF]
	bic	w8, w8, w9
Lloh8:
	ldr	w9, [x11]
Lloh9:
	adrp	x11, _IFF_NO_QUEUE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IFF_NO_QUEUE@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w9, w11, w9
	ldp	w11, w12, [x19]
	orr	w9, w9, w11
	str	w9, [x19]
Lloh12:
	adrp	x9, _NETIF_F_HIGHDMA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x11, _NETIF_F_SG@GOTPAGE
Lloh16:
	ldr	x11, [x11, _NETIF_F_SG@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
Lloh18:
	adrp	x13, _NETIF_F_FRAGLIST@GOTPAGE
Lloh19:
	ldr	x13, [x13, _NETIF_F_FRAGLIST@GOTPAGEOFF]
	orr	w9, w11, w9
Lloh20:
	ldr	w11, [x13]
	orr	w9, w9, w11
Lloh21:
	adrp	x11, _NETIF_F_HW_CSUM@GOTPAGE
Lloh22:
	ldr	x11, [x11, _NETIF_F_HW_CSUM@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	orr	w9, w9, w11
Lloh24:
	adrp	x11, _NETIF_F_TSO@GOTPAGE
Lloh25:
	ldr	x11, [x11, _NETIF_F_TSO@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	orr	w9, w9, w11
	orr	w9, w9, w12
Lloh27:
	adrp	x11, _NETIF_F_HW_TC@GOTPAGE
Lloh28:
	ldr	x11, [x11, _NETIF_F_HW_TC@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	orr	w10, w10, w11
	str	xzr, [x19, #24]
	stp	w10, w8, [x19, #12]
Lloh30:
	adrp	x8, _ETH_MAX_MTU@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ETH_MAX_MTU@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	stp	w9, w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_IFF_LIVE_ADDR_CHANGE,4,2       ; @IFF_LIVE_ADDR_CHANGE
	.comm	_IFF_NO_QUEUE,4,2               ; @IFF_NO_QUEUE
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_FRAGLIST,4,2           ; @NETIF_F_FRAGLIST
	.comm	_NETIF_F_HW_CSUM,4,2            ; @NETIF_F_HW_CSUM
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_HW_TC,4,2              ; @NETIF_F_HW_TC
	.comm	_ETH_MAX_MTU,4,2                ; @ETH_MAX_MTU
	.no_dead_strip	_nsim_setup
.subsections_via_symbols
