	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_hfi1_efi_var              ## -- Begin function read_hfi1_efi_var
	.p2align	4, 0x90
_read_hfi1_efi_var:                     ## @read_hfi1_efi_var
	.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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	movq	%rdx, -192(%rbp)                ## 8-byte Spill
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	8(%rax), %rdi
	callq	_pci_domain_nr
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	movl	(%rcx), %r15d
	movl	(%rax), %edi
	callq	_PCI_SLOT
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_PCI_FUNC
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movq	-192(%rbp), %r15                ## 8-byte Reload
	movl	%r12d, %r9d
	movq	-184(%rbp), %r12                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_snprintf
	leaq	L_.str.1(%rip), %rdx
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
	movl	$64, %esi
	movq	%rbx, %rcx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_snprintf
	movq	%r14, %rdi
	movq	-200(%rbp), %r14                ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_read_efi_var
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movb	-112(%rbp), %al
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	%al, %al
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %edi
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%rbx), %edi
	callq	_toupper
	movb	%al, (%rbx)
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.1(%rip), %rdx
	leaq	-176(%rbp), %rbx
	leaq	-112(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$64, %esi
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_read_efi_var
	movl	%eax, %r13d
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%r13d, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%04x:%02x:%02x.%x"

L_.str.1:                               ## @.str.1
	.asciz	"%s-%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_hfi1_efi_var              ; -- Begin function read_hfi1_efi_var
	.p2align	2
_read_hfi1_efi_var:                     ; @read_hfi1_efi_var
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	x8, [x0]
	ldr	x0, [x8, #8]
	bl	_pci_domain_nr
	mov	x23, x0
	ldr	x8, [x22]
	ldr	x9, [x8, #8]
	ldr	w0, [x8]
	ldr	w25, [x9]
	bl	_PCI_SLOT
	mov	x24, x0
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_PCI_FUNC
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #16]
	stp	x23, x25, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x22, sp, #104
	add	x0, sp, #104
	mov	w1, #64
	bl	_snprintf
	stp	x22, x21, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #40
	mov	w1, #64
	bl	_snprintf
	add	x0, sp, #40
	mov	x1, x20
	mov	x2, x19
	bl	_read_efi_var
	cbz	w0, LBB0_7
; %bb.1:
	ldrb	w8, [sp, #104]
	cbz	w8, LBB0_6
; %bb.2:
	add	x22, sp, #104
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22, #1]!
	cbz	w8, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isalpha
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsb	w0, [x22]
	bl	_toupper
	strb	w0, [x22]
	b	LBB0_3
LBB0_6:
	add	x8, sp, #104
	stp	x8, x21, [sp]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #40
	mov	w1, #64
	bl	_snprintf
	add	x0, sp, #40
	mov	x1, x20
	mov	x2, x19
	bl	_read_efi_var
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%04x:%02x:%02x.%x"

l_.str.1:                               ; @.str.1
	.asciz	"%s-%s"

.subsections_via_symbols
