	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spider_net_set_promisc
_spider_net_set_promisc:                ## @spider_net_set_promisc
	.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	%rdi, %r14
	movq	(%rdi), %rax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_SPIDER_NET_GMRUAFILnR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_spider_net_write_reg
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_spider_net_write_reg
	movq	_SPIDER_NET_GMRUA0FIL15R@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_SPIDER_NET_PROMISC_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spider_net_write_reg           ## TAILCALL
LBB0_1:
	movq	8(%rax), %rsi
	movl	(%rsi), %ebx
	shll	$8, %ebx
	orl	4(%rsi), %ebx
	addq	$8, %rsi
	leaq	-28(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	_SPIDER_NET_UA_DESCR_VALUE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SPIDER_NET_GMRUAFILnR@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_spider_net_write_reg
	movq	(%r15), %rsi
	addq	$4, %rsi
	movl	-28(%rbp), %edx
	movq	%r14, %rdi
	callq	_spider_net_write_reg
	movq	_SPIDER_NET_GMRUA0FIL15R@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_SPIDER_NET_NONPROMISC_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_spider_net_write_reg
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_SPIDER_NET_GMRUAFILnR,8,3      ## @SPIDER_NET_GMRUAFILnR
	.comm	_SPIDER_NET_GMRUA0FIL15R,8,3    ## @SPIDER_NET_GMRUA0FIL15R
	.comm	_SPIDER_NET_PROMISC_VALUE,4,2   ## @SPIDER_NET_PROMISC_VALUE
	.comm	_SPIDER_NET_UA_DESCR_VALUE,4,2  ## @SPIDER_NET_UA_DESCR_VALUE
	.comm	_SPIDER_NET_NONPROMISC_VALUE,4,2 ## @SPIDER_NET_NONPROMISC_VALUE
	.no_dead_strip	_spider_net_set_promisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spider_net_set_promisc
_spider_net_set_promisc:                ; @spider_net_set_promisc
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x20, _SPIDER_NET_GMRUAFILnR@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SPIDER_NET_GMRUAFILnR@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_spider_net_write_reg
	ldr	x8, [x20]
	add	x1, x8, #4
	mov	x0, x19
	mov	w2, #0
	bl	_spider_net_write_reg
Lloh5:
	adrp	x8, _SPIDER_NET_GMRUA0FIL15R@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPIDER_NET_GMRUA0FIL15R@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
Lloh8:
	adrp	x8, _SPIDER_NET_PROMISC_VALUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SPIDER_NET_PROMISC_VALUE@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	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
	b	_spider_net_write_reg
LBB0_2:
	ldr	x8, [x8, #8]
	ldp	w9, w10, [x8]
	orr	w20, w10, w9, lsl #8
	add	x1, x8, #8
	add	x0, sp, #12
	mov	w2, #4
	bl	_memcpy
Lloh11:
	adrp	x8, _SPIDER_NET_UA_DESCR_VALUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SPIDER_NET_UA_DESCR_VALUE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w2, w20, w8
Lloh14:
	adrp	x20, _SPIDER_NET_GMRUAFILnR@GOTPAGE
Lloh15:
	ldr	x20, [x20, _SPIDER_NET_GMRUAFILnR@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_spider_net_write_reg
	ldr	x8, [x20]
	add	x1, x8, #4
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_spider_net_write_reg
Lloh16:
	adrp	x8, _SPIDER_NET_GMRUA0FIL15R@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SPIDER_NET_GMRUA0FIL15R@GOTPAGEOFF]
Lloh18:
	ldr	x1, [x8]
Lloh19:
	adrp	x8, _SPIDER_NET_NONPROMISC_VALUE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SPIDER_NET_NONPROMISC_VALUE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_spider_net_write_reg
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_SPIDER_NET_GMRUAFILnR,8,3      ; @SPIDER_NET_GMRUAFILnR
	.comm	_SPIDER_NET_GMRUA0FIL15R,8,3    ; @SPIDER_NET_GMRUA0FIL15R
	.comm	_SPIDER_NET_PROMISC_VALUE,4,2   ; @SPIDER_NET_PROMISC_VALUE
	.comm	_SPIDER_NET_UA_DESCR_VALUE,4,2  ; @SPIDER_NET_UA_DESCR_VALUE
	.comm	_SPIDER_NET_NONPROMISC_VALUE,4,2 ; @SPIDER_NET_NONPROMISC_VALUE
	.no_dead_strip	_spider_net_set_promisc
.subsections_via_symbols
