	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar8327_get_port_igmp
_ar8327_get_port_igmp:                  ## @ar8327_get_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	%esi, %r12d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_AR8327_FWD_CTRL1_IGMP_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_AR8327_FRAME_ACK_CTRL_IGMP_MLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_AR8327_FRAME_ACK_CTRL_IGMP_JOIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_AR8327_FRAME_ACK_CTRL_IGMP_LEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_AR8327_FRAME_ACK_CTRL_S
	movl	%eax, %r15d
	movq	_AR8327_REG_FWD_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ar8xxx_read
	movl	%eax, %ecx
	notl	%ecx
	xorl	%eax, %eax
	testl	%ecx, %ebx
	jne	LBB0_2
## %bb.1:
	orl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movl	%r15d, %ecx
	shll	%cl, %r13d
	movl	%r12d, %edi
	callq	_AR8327_REG_FRAME_ACK_CTRL
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ar8xxx_read
	movl	%eax, %ecx
	notl	%ecx
	xorl	%eax, %eax
	testl	%ecx, %r13d
	sete	%al
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR8327_FWD_CTRL1_IGMP_S,4,2    ## @AR8327_FWD_CTRL1_IGMP_S
	.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
	.no_dead_strip	_ar8327_get_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_get_port_igmp
_ar8327_get_port_igmp:                  ; @ar8327_get_port_igmp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_BIT
Lloh0:
	adrp	x8, _AR8327_FWD_CTRL1_IGMP_S@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR8327_FWD_CTRL1_IGMP_S@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w25, w0, w8
Lloh3:
	adrp	x8, _AR8327_FRAME_ACK_CTRL_IGMP_MLD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AR8327_FRAME_ACK_CTRL_IGMP_MLD@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _AR8327_FRAME_ACK_CTRL_IGMP_JOIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AR8327_FRAME_ACK_CTRL_IGMP_JOIN@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _AR8327_FRAME_ACK_CTRL_IGMP_LEAVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AR8327_FRAME_ACK_CTRL_IGMP_LEAVE@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_AR8327_FRAME_ACK_CTRL_S
	mov	x21, x0
Lloh12:
	adrp	x8, _AR8327_REG_FWD_CTRL1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AR8327_REG_FWD_CTRL1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ar8xxx_read
	bics	wzr, w25, w0
	b.ne	LBB0_2
; %bb.1:
	orr	w8, w23, w22
	orr	w8, w8, w24
	lsl	w21, w8, w21
	mov	x0, x20
	bl	_AR8327_REG_FRAME_ACK_CTRL
	mov	x1, x0
	mov	x0, x19
	bl	_ar8xxx_read
	bics	wzr, w21, w0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.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	_AR8327_FWD_CTRL1_IGMP_S,4,2    ; @AR8327_FWD_CTRL1_IGMP_S
	.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
	.no_dead_strip	_ar8327_get_port_igmp
.subsections_via_symbols
