	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ezx_pcap_set_bits              ## -- Begin function ezx_pcap_set_bits
	.p2align	4, 0x90
_ezx_pcap_set_bits:                     ## @ezx_pcap_set_bits
	.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	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_PCAP_REGISTER_ADDRESS_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%esi, %eax
	shll	%cl, %eax
	movq	_PCAP_REGISTER_READ_OP_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -44(%rbp)
	callq	_spin_lock_irqsave
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ezx_pcap_putget
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_PCAP_REGISTER_VALUE_MASK@GOTPCREL(%rip), %rax
	andl	%ebx, %r12d
	notl	%ebx
	andl	(%rax), %ebx
	andl	-44(%rbp), %ebx
	orl	%r12d, %ebx
	movq	_PCAP_REGISTER_WRITE_OP_BIT@GOTPCREL(%rip), %rax
	movq	_PCAP_REGISTER_ADDRESS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r15d
	orl	(%rax), %ebx
	orl	%r15d, %ebx
	movl	%ebx, -44(%rbp)
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ezx_pcap_putget
	movl	%eax, %r13d
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCAP_REGISTER_READ_OP_BIT,4,2  ## @PCAP_REGISTER_READ_OP_BIT
	.comm	_PCAP_REGISTER_ADDRESS_SHIFT,4,2 ## @PCAP_REGISTER_ADDRESS_SHIFT
	.comm	_PCAP_REGISTER_VALUE_MASK,4,2   ## @PCAP_REGISTER_VALUE_MASK
	.comm	_PCAP_REGISTER_WRITE_OP_BIT,4,2 ## @PCAP_REGISTER_WRITE_OP_BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ezx_pcap_set_bits              ; -- Begin function ezx_pcap_set_bits
	.p2align	2
_ezx_pcap_set_bits:                     ; @ezx_pcap_set_bits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PCAP_REGISTER_READ_OP_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCAP_REGISTER_READ_OP_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x24, _PCAP_REGISTER_ADDRESS_SHIFT@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PCAP_REGISTER_ADDRESS_SHIFT@GOTPAGEOFF]
	ldr	w9, [x24]
	lsl	w9, w1, w9
	orr	w8, w9, w8
	str	w8, [sp, #12]
	bl	_spin_lock_irqsave
	add	x1, sp, #12
	mov	x0, x19
	bl	_ezx_pcap_putget
	mov	x23, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _PCAP_REGISTER_VALUE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PCAP_REGISTER_VALUE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w8, w8, w22
	ldr	w9, [sp, #12]
	and	w8, w8, w9
	and	w9, w21, w22
Lloh8:
	adrp	x10, _PCAP_REGISTER_WRITE_OP_BIT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PCAP_REGISTER_WRITE_OP_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	ldr	w11, [x24]
	lsl	w11, w20, w11
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	str	w8, [sp, #12]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ezx_pcap_putget
	mov	x23, x0
LBB0_2:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PCAP_REGISTER_READ_OP_BIT,4,2  ; @PCAP_REGISTER_READ_OP_BIT
	.comm	_PCAP_REGISTER_ADDRESS_SHIFT,4,2 ; @PCAP_REGISTER_ADDRESS_SHIFT
	.comm	_PCAP_REGISTER_VALUE_MASK,4,2   ; @PCAP_REGISTER_VALUE_MASK
	.comm	_PCAP_REGISTER_WRITE_OP_BIT,4,2 ; @PCAP_REGISTER_WRITE_OP_BIT
.subsections_via_symbols
