	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar8327_set_port_igmp
_ar8327_set_port_igmp:                  ## @ar8327_set_port_igmp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_AR8327_REG_FRAME_ACK_CTRL
	movq	_AR8327_FRAME_ACK_CTRL_IGMP_MLD@GOTPCREL(%rip), %rcx
	movq	_AR8327_FRAME_ACK_CTRL_IGMP_JOIN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_AR8327_FRAME_ACK_CTRL_IGMP_LEAVE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_AR8327_FRAME_ACK_CTRL_S
	movl	%eax, %ecx
	shll	%cl, %ebx
	movq	_AR8327_REG_FWD_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_BIT
	movl	%eax, %r15d
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.1:
	movq	_AR8327_FWD_CTRL1_MC_FLOOD_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movl	%r12d, %edi
	callq	_BIT
	movq	_AR8327_FWD_CTRL1_IGMP_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_ar8xxx_rmw
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ar8xxx_reg_set                 ## TAILCALL
LBB0_2:
	movq	_AR8327_FWD_CTRL1_IGMP_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movl	%r12d, %edi
	callq	_BIT
	movq	_AR8327_FWD_CTRL1_MC_FLOOD_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_ar8xxx_rmw
	movq	%r14, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ar8xxx_reg_clear               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR8327_FRAME_ACK_CTRL_IGMP_MLD,4,2 ## @AR8327_FRAME_ACK_CTRL_IGMP_MLD
	.comm	_AR8327_FRAME_ACK_CTRL_IGMP_JOIN,4,2 ## @AR8327_FRAME_ACK_CTRL_IGMP_JOIN
	.comm	_AR8327_FRAME_ACK_CTRL_IGMP_LEAVE,4,2 ## @AR8327_FRAME_ACK_CTRL_IGMP_LEAVE
	.comm	_AR8327_REG_FWD_CTRL1,4,2       ## @AR8327_REG_FWD_CTRL1
	.comm	_AR8327_FWD_CTRL1_MC_FLOOD_S,4,2 ## @AR8327_FWD_CTRL1_MC_FLOOD_S
	.comm	_AR8327_FWD_CTRL1_IGMP_S,4,2    ## @AR8327_FWD_CTRL1_IGMP_S
	.no_dead_strip	_ar8327_set_port_igmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar8327_set_port_igmp
_ar8327_set_port_igmp:                  ; @ar8327_set_port_igmp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_AR8327_REG_FRAME_ACK_CTRL
	mov	x20, x0
Lloh0:
	adrp	x8, _AR8327_FRAME_ACK_CTRL_IGMP_MLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR8327_FRAME_ACK_CTRL_IGMP_MLD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AR8327_FRAME_ACK_CTRL_IGMP_JOIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AR8327_FRAME_ACK_CTRL_IGMP_JOIN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _AR8327_FRAME_ACK_CTRL_IGMP_LEAVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AR8327_FRAME_ACK_CTRL_IGMP_LEAVE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w21, w8, w9
	mov	x0, x22
	bl	_AR8327_FRAME_ACK_CTRL_S
	lsl	w21, w21, w0
Lloh9:
	adrp	x8, _AR8327_REG_FWD_CTRL1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR8327_REG_FWD_CTRL1@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_BIT
	cbz	w24, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _AR8327_FWD_CTRL1_MC_FLOOD_S@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR8327_FWD_CTRL1_MC_FLOOD_S@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsl	w24, w0, w8
	mov	x0, x22
	bl	_BIT
Lloh15:
	adrp	x8, _AR8327_FWD_CTRL1_IGMP_S@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AR8327_FWD_CTRL1_IGMP_S@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	lsl	w3, w0, w8
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_ar8xxx_rmw
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ar8xxx_reg_set
LBB0_2:
Lloh18:
	adrp	x8, _AR8327_FWD_CTRL1_IGMP_S@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AR8327_FWD_CTRL1_IGMP_S@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsl	w24, w0, w8
	mov	x0, x22
	bl	_BIT
Lloh21:
	adrp	x8, _AR8327_FWD_CTRL1_MC_FLOOD_S@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AR8327_FWD_CTRL1_MC_FLOOD_S@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	lsl	w3, w0, w8
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_ar8xxx_rmw
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ar8xxx_reg_clear
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_AR8327_FRAME_ACK_CTRL_IGMP_MLD,4,2 ; @AR8327_FRAME_ACK_CTRL_IGMP_MLD
	.comm	_AR8327_FRAME_ACK_CTRL_IGMP_JOIN,4,2 ; @AR8327_FRAME_ACK_CTRL_IGMP_JOIN
	.comm	_AR8327_FRAME_ACK_CTRL_IGMP_LEAVE,4,2 ; @AR8327_FRAME_ACK_CTRL_IGMP_LEAVE
	.comm	_AR8327_REG_FWD_CTRL1,4,2       ; @AR8327_REG_FWD_CTRL1
	.comm	_AR8327_FWD_CTRL1_MC_FLOOD_S,4,2 ; @AR8327_FWD_CTRL1_MC_FLOOD_S
	.comm	_AR8327_FWD_CTRL1_IGMP_S,4,2    ; @AR8327_FWD_CTRL1_IGMP_S
	.no_dead_strip	_ar8327_set_port_igmp
.subsections_via_symbols
