	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpaa_set_rx_mode
_dpaa_set_rx_mode:                      ## @dpaa_set_rx_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	testl	%eax, (%rbx)
	setne	%dl
	movq	(%r14), %rax
	movl	(%rax), %ecx
	cmpl	%edx, %ecx
	je	LBB0_3
## %bb.1:
	xorl	%esi, %esi
	testl	%ecx, %ecx
	sete	%sil
	movl	%esi, (%rax)
	movl	40(%rax), %edi
	callq	*8(%rax)
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	movq	_drv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %r8d
	callq	_netif_err
LBB0_3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	testl	%eax, (%rbx)
	setne	%dl
	movq	(%r14), %rax
	movl	16(%rax), %ecx
	cmpl	%edx, %ecx
	je	LBB0_6
## %bb.4:
	xorl	%esi, %esi
	testl	%ecx, %ecx
	sete	%sil
	movl	%esi, 16(%rax)
	movl	40(%rax), %edi
	callq	*24(%rax)
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	movq	_drv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %r8d
	callq	_netif_err
LBB0_6:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	*32(%rsi)
	testl	%eax, %eax
	js	LBB0_8
## %bb.7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_drv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.2(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movl	%eax, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_err                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac_dev->set_promisc() = %d\n"

	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
L_.str.1:                               ## @.str.1
	.asciz	"mac_dev->set_allmulti() = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"mac_dev->set_multi() = %d\n"

	.no_dead_strip	_dpaa_set_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpaa_set_rx_mode
_dpaa_set_rx_mode:                      ; @dpaa_set_rx_mode
	.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	_netdev_priv
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w10, ne
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, w10
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #0
	cset	w1, eq
	str	w1, [x8]
	ldr	x9, [x8, #8]
	ldr	w0, [x8, #40]
	blr	x9
	tbz	w0, #31, LBB0_3
; %bb.2:
	mov	x4, x0
Lloh3:
	adrp	x8, _drv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_err
LBB0_3:
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w10, ne
	ldr	x8, [x20]
	ldr	w9, [x8, #16]
	cmp	w9, w10
	b.eq	LBB0_6
; %bb.4:
	cmp	w9, #0
	cset	w1, eq
	str	w1, [x8, #16]
	ldr	x9, [x8, #24]
	ldr	w0, [x8, #40]
	blr	x9
	tbz	w0, #31, LBB0_6
; %bb.5:
	mov	x4, x0
Lloh11:
	adrp	x8, _drv@GOTPAGE
Lloh12:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x3, l_.str.1@PAGE
Lloh15:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netif_err
LBB0_6:
	ldr	x1, [x20]
	ldr	x8, [x1, #32]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x4, x0
Lloh16:
	adrp	x8, _drv@GOTPAGE
Lloh17:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh18:
	adrp	x3, l_.str.2@PAGE
Lloh19:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac_dev->set_promisc() = %d\n"

	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
l_.str.1:                               ; @.str.1
	.asciz	"mac_dev->set_allmulti() = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"mac_dev->set_multi() = %d\n"

	.no_dead_strip	_dpaa_set_rx_mode
.subsections_via_symbols
