	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcm2835_mbox_fb_get_w_h        ## -- Begin function bcm2835_mbox_fb_get_w_h
	.p2align	4, 0x90
_bcm2835_mbox_fb_get_w_h:               ## @bcm2835_mbox_fb_get_w_h
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movl	$32, -24(%rbp)
	movq	_BCM2835_MBOX_CODE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_GET_PHYSICAL_W_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BCM2835_MBOX_INIT_TAG
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_bcm2835_mbox_property
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %ecx
	movl	%ecx, 4(%r14)
	movl	-48(%rbp), %ecx
	movl	%ecx, (%r14)
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCM2835_MBOX_CODE_REQ,4,2      ## @BCM2835_MBOX_CODE_REQ
	.comm	_GET_PHYSICAL_W_H,4,2           ## @GET_PHYSICAL_W_H
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bcm2835_mbox_fb_get_w_h        ; -- Begin function bcm2835_mbox_fb_get_w_h
	.p2align	2
_bcm2835_mbox_fb_get_w_h:               ; @bcm2835_mbox_fb_get_w_h
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	mov	w20, #32
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _BCM2835_MBOX_CODE_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BCM2835_MBOX_CODE_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w20, w8, [sp, #24]
Lloh3:
	adrp	x8, _GET_PHYSICAL_W_H@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GET_PHYSICAL_W_H@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_BCM2835_MBOX_INIT_TAG
	stp	xzr, xzr, [sp, #8]
	mov	x0, sp
	mov	w1, #32
	bl	_bcm2835_mbox_property
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	d0, [sp]
	str	d0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BCM2835_MBOX_CODE_REQ,4,2      ; @BCM2835_MBOX_CODE_REQ
	.comm	_GET_PHYSICAL_W_H,4,2           ; @GET_PHYSICAL_W_H
.subsections_via_symbols
