	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_promiscuous
_ehea_promiscuous:                      ## @ehea_promiscuous
	.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
	movl	%esi, %r15d
	callq	_netdev_priv
	cmpl	%r15d, (%rax)
	jne	LBB0_1
## %bb.9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rax, %rbx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_zeroed_page
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	cmpl	$1, %r15d
	jne	LBB0_5
## %bb.4:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
LBB0_5:
	movl	%eax, (%r14)
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	movq	_H_PORT_CB7@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_H_PORT_CB7_DUCQPN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %r8
	callq	_ehea_h_modify_ehea_port
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_ehea_promiscuous_error
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_8
LBB0_7:
	movl	%r15d, (%rbx)
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_page                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no mem for cb7\n"

	.comm	_H_PORT_CB7,4,2                 ## @H_PORT_CB7
	.comm	_H_PORT_CB7_DUCQPN,4,2          ## @H_PORT_CB7_DUCQPN
	.no_dead_strip	_ehea_promiscuous
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_promiscuous
_ehea_promiscuous:                      ; @ehea_promiscuous
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_netdev_priv
	ldr	w8, [x0]
	cmp	w8, w19
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_zeroed_page
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.3:
	cmp	w19, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_10
LBB0_6:
	mov	w8, #0
LBB0_7:
	str	w8, [x20]
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	ldr	w1, [x21, #4]
Lloh5:
	adrp	x8, _H_PORT_CB7@GOTPAGE
Lloh6:
	ldr	x8, [x8, _H_PORT_CB7@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _H_PORT_CB7_DUCQPN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _H_PORT_CB7_DUCQPN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x4, x20
	bl	_ehea_h_modify_ehea_port
	cbz	x0, LBB0_9
; %bb.8:
	mov	x1, x19
	bl	_ehea_promiscuous_error
	b	LBB0_10
LBB0_9:
	str	w19, [x21]
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free_page
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no mem for cb7\n"

	.comm	_H_PORT_CB7,4,2                 ; @H_PORT_CB7
	.comm	_H_PORT_CB7_DUCQPN,4,2          ; @H_PORT_CB7_DUCQPN
	.no_dead_strip	_ehea_promiscuous
.subsections_via_symbols
