	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfqnl_set_mode
_nfqnl_set_mode:                        ## @nfqnl_set_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r12
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	leal	127(%rbx), %eax
	cmpb	$2, %al
	jae	LBB0_2
## %bb.1:
	movb	%bl, (%r12)
	movl	$0, 4(%r12)
	jmp	LBB0_7
LBB0_2:
	cmpb	$-128, %bl
	jne	LBB0_5
## %bb.3:
	movb	$-128, (%r12)
	cmpl	$65536, %r15d                   ## imm = 0x10000
	jb	LBB0_6
## %bb.4:
	movl	$65535, 4(%r12)                 ## imm = 0xFFFF
	jmp	LBB0_7
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_6:
	movl	%r15d, 4(%r12)
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nfqnl_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfqnl_set_mode
_nfqnl_set_mode:                        ; @nfqnl_set_mode
	.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	x22, x2
	mov	x23, x1
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock_bh
	sub	w8, w23, #129
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w21, #0
	strb	w23, [x20]
	str	wzr, [x20, #4]
	b	LBB0_7
LBB0_2:
	cmp	w23, #128
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #128
	strb	w8, [x20]
	cmp	w22, #16, lsl #12               ; =65536
	b.lo	LBB0_6
; %bb.4:
	mov	w21, #0
	mov	w8, #65535
	str	w8, [x20, #4]
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_6:
	mov	w21, #0
	str	w22, [x20, #4]
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nfqnl_set_mode
.subsections_via_symbols
