	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_vf_read_bulletin           ## -- Begin function qed_vf_read_bulletin
	.p2align	4, 0x90
_qed_vf_read_bulletin:                  ## @qed_vf_read_bulletin
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movl	$0, (%rsi)
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	leaq	-48(%rbp), %rdi
	callq	_memcpy
	movq	-48(%rbp), %rax
	xorl	%r12d, %r12d
	cmpq	16(%rbx), %rax
	je	LBB0_4
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	(%rbx), %rdx
	addq	$-4, %rdx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_crc32
	cmpl	-40(%rbp), %eax
	jne	LBB0_2
## %bb.3:
	movq	(%rbx), %rdx
	addq	$16, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_memcpy
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_DP_VERBOSE
	movl	$1, (%r14)
	jmp	LBB0_4
LBB0_2:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Read a bulletin update %08x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_vf_read_bulletin           ; -- Begin function qed_vf_read_bulletin
	.p2align	2
_qed_vf_read_bulletin:                  ; @qed_vf_read_bulletin
	.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	x19, x1
	mov	x20, x0
	ldr	x22, [x0]
	str	wzr, [x1]
	ldp	x2, x1, [x22]
	mov	x23, sp
	mov	x0, sp
	bl	_memcpy
	mov	w0, #0
	ldr	x8, [sp]
	mov	x21, x22
	ldr	x9, [x21, #16]!
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	add	x1, x23, #16
	ldr	x8, [x22]
	sub	x2, x8, #4
	mov	w0, #0
	bl	_crc32
	ldr	w8, [sp, #8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	x2, [x22]
	mov	x1, sp
	mov	x0, x21
	bl	_memcpy
Lloh0:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x3, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP_VERBOSE
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Read a bulletin update %08x\n"

.subsections_via_symbols
